Link to home
Start Free TrialLog in
Avatar of jayatpitt
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!
ASKER CERTIFIED SOLUTION
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jayatpitt
jayatpitt

ASKER

Its good to know that I was indeed fairly close.  Thanks a ton aneesh!