Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 721
  • Last Modified:

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!
0
jayatpitt
Asked:
jayatpitt
1 Solution
 
Aneesh ChopraCommented:
Hi,

I have fixed it and uploaded the fixed version here:
http://www.4shared.com/file/2147319/7dfd546e/gallery_fixed.html

Rgds
Aneesh
0
 
jayatpittAuthor Commented:
Its good to know that I was indeed fairly close.  Thanks a ton aneesh!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now