This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
lucaz (10)
XML Slideshow Gallery
ActionScript 3.0 Slideshow that loads images from a XML, easy to customize. i will be making some updates to this gallery ;)7396 downloads, 46828 views
slideshow xml actionscript 3 0 actionscript
Comments
You need to login to post a comment.
Hi, how can I change the description text and it is possible to do links with it? Thanks
Hi lucaz.. Very cool script, How i can send xml path as parameter?
Tanx!!
I have CS4. Could you advise on how to combine all the package elements?
Hi lucaz, why i cant import the swf in my .php page if this is in a diferent folder?
How can i import 2 times your gallerie in my principal page with diferents images?
Thanks, and sorry for my english.
Hi Lucaz, is there a way to disable sliding and just keep the alpha fading? Thanks.
what about making fade in/out transition instead of sliding?
Hi lucas and thank you for you help!
In fact, i've simply modify the size of the Slideshow, rename my own image and modify the number of image and the links in the xml file.
But both in IE and Firefox, clicking on the images don't get the link's url and the animation seems to "disturb" firefox...
But maybe it is my pc, idon't know.
Thank you for your help, and excuse my english
Laurent
Hi l.dardanelli!!
Can you explain me the problem a little more please?
Thank you :)
Hi trinasdg!
The only way is editing the xml file and adding the images to the images folder jeje ;p
Hi jrheeder and sorry for answer too late!
To remove the description in the file Slideshow.as comment line 120
And to chance the delay just change the number in line 62, now the delay is 4 seconds
_mitiempo = new Timer(4000);
And the .as file didn't need to be included :)
hello
Very good work!
But... I've got a problem of links that don't work
Any advice
Thanks
Sorry for cannot answer, i will as soon has i can.
Thanks
Good work! Can you tell me how can I update more photo easylI?
the reason for my odd questions is I have edited the .as files...saved it and placed with my .swf file... BUT nothing seems to change...any advice
Lucaz,
Excellent work, I just have two questions. I dont knw AS let alone Flash to much, so bear with me.
1. I want the Description box to dissapear. (Dont need it as my pics speak for themselves :) )
2. Slow down the rate of the refresh, so that the images stay longer on the page.
How would I go about achieving this.
P.S I take it the .as file has to be included with the swf file for the slideshow to work correctly?
good work keep it up
You have good hand in XML , good
Great Work mate..
Need some tweaking though..
How can I use an Image as a Frame above all the images that are coming from the xml files?
Thanks a lot for all the help in advance.
Sorry, mi again,
I forget it... My "index.swf" file is in AS2
THANKS
Hi tagrafx,
can i work this file like a external swf..?
I have a file "index.swf". This file call and load "slideshow.swf" using the "createEmptyMovieClip" function but dont work.
Can you help me..?
THANKS and GREAT work
Lucaz, I figure it out, thanks for the great file!
Great !!! :D
Hi Lucaz. It works just fine now and loads on same window. thanks!
Hi gillsoriano!!!
Sorry but for now i can't do that :(
Thank you
Hi wolverene!!!
Good to know it works ;)
I updated the file for open the link in the same window, but if you want just to change yours go to line 132 it says:
navigateToURL(new URLRequest(_xmlList[_imageCount].attribu te("link")));
replace it with this
navigateToURL(new URLRequest(_xmlList[_imageCount].attribu te("link")), "_self");
And if someone wants to make it open in another window just change "_self" at the end of the line for "_blank"
Hope it works!
:)
Hi tagrafx!!
I don't understand good what you want, sorry, is to make the first image to fade-in instead of slide-in?
Thanks!
Hi Lucaz. At first the links don't actually work but somehow it now works in my test site and I didn't do anything. So that is solved for now. I have one other question. How do I make it that the link when clicked would load in the same page (_self) instead of opening a new window or tab (_blank)?
Another question: Is there a way to not have the first image slide into place, just have it appear?
Found the Text line on #337...THANKS
_infoText.visible = false;
GREAT!!!
Is there a way to remove the descriptions and the black box behind it?
Good Job, maybe a little rounded mask?
Hi mart032280!!! Sorry for let that line in the xml, i remove the "thumb" tag from the xml because it does not have any function, for changing the images just edit the tag called "source".
Hope it works
Thanks
Hi wolverene! I think for you to see the error, you will need to download the flash player debugger from here: adobe.com/support/flashplayer/downloads. html
ok...i thought it was gonna be easy to edit but i can't seem to get my images to show up. i changed the link in the XML but i can't find this folder that has the thumbnails. i think that's what stopping it from showing. can you help me? THANKS!!!!
Lucaz, how did you find the error and what is your best suggestion to get around the problem which is what I get from my test site?
It looks like some kind of parameter that need to be changed in the html of the website or something like that. The error say:
SecurityError: Error #2146: Security sandbox violation: ffiles.com/flash_files/2647/slideshow.sw f cannot call navigateToURL because the HTML/container parameter allowNetworking has the value internal.
at global/flash.net::navigateToURL()
at Slideshow/onClick()
Lucaz, I don't know what's keeping the links from working here. It doesn't also work in my test site. I wonder how we can fix that.
Great Lucaz! Well done! I see it works perfectly. Can you tell us which line have you added in the slideshow.as file to enable the links in the xml? Thanx!
Hi wolverene!!!
The change is ready :) :D
I don't know why the links doesn't work here, but here you have a preview:
bruno.gatjens.net/dev/xmlslideshow/slid eshow.html
Hope it helps you :)
great work as usual! love it and it's easy to edit!
Awesome work lucaz! How can we add a url to an image in the xml file? So for each image on click goes to it's designated url. Thanx.
Hi Lucaz
I'd like to get your permission to use your slideshow commercially for a small company, I can make a donation email me geraldrATshimdesign.com. Cheers
Hello ssg!!!
Thanks for the response. Please check triplanz.com this site is developed by me. Home page map is developed in flash and i want to integrate your gallery into it. But map is in AS 2.0 and Gallery is in AS 3.0. Actually, i want loader as you implement in your gallery but i could not do so. Can you give me some help?
hey microait - it's the AS3 with the future - sooner you switch to it - the better.
I know it is hard for the non-programmers (like me), but there is logic and you just need to spend some time on that.
Hello ssg!!!
Actually, AS 3.0 is completely different from AS.2. When i try to merge my AS 2.0 code. It generate errors. I want to add my code with this gallery but versions problem.
It is nice but
Please provide this script in AS 2.0
hi ssg!!!!
Some that i think can work is that in the .as file you can find this string variable
private var tTiempo:String = "on";
If that variable is equal to "off" the slideshow will not run, you can put at the beginning of your SWF file a order that makes this variable be "off" and it will deactivate the slideshow, and put the variable to "on" again at the end of the SWF
Hope it helps
Thank you :)
Thanks lukaz,
the first part works fine.
I'll appreciate if you can help for the second.
This will add extra interactivity to your gallery.
Hi ssg!!!
For the first one:
Comment line 63 //_mitiempo.start();
Uncomment line 90 addChild(_slideshowbtn);
And comment line 96 //addChild(_slideshowstopbtn);
For the second one i think in a way to do it but i will response later jejej sorry, i need to go to my church :)
also too, i dunno if this is the computer or some coding, but the transition from one node to the next, the last one doesn't fade out completely. It happens randomly, sometimes it'll do it from the start, sometimes after a few. Any suggestions?
Hi adamtully!!!
Just replace the text in line 74 for this one _finbtn.x = 85 + (_finbtn.width + _buttonsDistX);
And then the text in line 115 for this one _infoText.x = _stageWidth - _infoText.width + 30;
Hope it helps
Thank you
Hey licaz,
Awesome work buddy!!! I have 2 questions:
1. How to make the slide show paused by default (to require the user to click on play or next to go to the next slide)?
2. I tried to replace the JPG with SWF file. It works like a charm, but the sfw stays as long as you set up in ms for the images. Is there a way next slide to wait until that swf's timeline ends.
Thanks in advance!
lucaz, man i wish i knew more actionscripting. I don't even know where to start. I have identified each section but have never used actionscripting math to arrange location. Any suggestions, I just want it at the bottom, but on the left.
Thanks
Hi adamtully!!!
In the lines that go from line 80 to line 105 there are the X and Y properties of those buttons, you can change the values there. If you have some doubts just ask :)
Thank you :D
Hey lucaz. Where in the file, can I move the "previous"/"next"/"pause" button over to the left, or anywhere else for that matter? Is it through the AS file?
Thanks
Thanks mariox!!!
Will try to find that bug :) :D
awesome!!!! great work dude! thanks!!! =) one thing: there's a little bug when the slideshow loads the images. some (random) images freezes the player, then it fixes automatically when the next image comes. could you check and fix that? thanks again! (sorry about my english)
Nice one dude!
Thank you tagarcia!!! :)
Excellent, great work. Thanks!
Thank you eekus!!!
The styling is just to edit the dynamic text field in the library. You want to put just one link per image or links in any part of the text that you want?
Thanks.
Very nice work! Any possibility of adding links and styling to the text areas? Great job!
Very nice! I'l try to update this for php
Hi marjohn2!!!!
I update the file, now is in CS3 version.
Thanks :)
nice work - thanks for the post
@marjohn2 - requires Flash CS4 to open it
flash cs3 open ???
do not open in flas cs3
por que no abre en flash cs3
si lo puedes convertir para poder abrirlo
jejeje
please
xvere justo lo que necesitaba
buen aporte
very good!! xD!!