jayatpitt
asked on
A dynamic XML flash gallery
Hi,
The goal of my flash file is to create an image gallery dynamically through XML.
The program should:
1. load an XML file
2. create buttons for each image in the folder
3. Load the appropriate image into a blank movie clip when its corresponding button is clicked
All this should happen automatically based on the XML file and image folder.
I think im fairly close, but there could be a major flaw in my code that I just don't know about.
There are some comments in the code that may help to clarify things.
It should be noted that all the code in the 2nd frame is on the dot movie clip in the center of the stage, but this is definitely not where the problems are. The code is on the first frame of the actions layer.
you can grab the zip file, which has the XML file, .fla, and image folder from here:
http://www.geocities.com/sporkzeus2010/gallery.zip
Thanks in advance!
The goal of my flash file is to create an image gallery dynamically through XML.
The program should:
1. load an XML file
2. create buttons for each image in the folder
3. Load the appropriate image into a blank movie clip when its corresponding button is clicked
All this should happen automatically based on the XML file and image folder.
I think im fairly close, but there could be a major flaw in my code that I just don't know about.
There are some comments in the code that may help to clarify things.
It should be noted that all the code in the 2nd frame is on the dot movie clip in the center of the stage, but this is definitely not where the problems are. The code is on the first frame of the actions layer.
you can grab the zip file, which has the XML file, .fla, and image folder from here:
http://www.geocities.com/sporkzeus2010/gallery.zip
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER