Solved

A dynamic XML flash gallery

Posted on 2006-06-20
2
710 Views
Last Modified: 2006-11-18
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
Comment
Question by:jayatpitt
2 Comments
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 500 total points
ID: 16951109
Hi,

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

Rgds
Aneesh
0
 
LVL 1

Author Comment

by:jayatpitt
ID: 16953390
Its good to know that I was indeed fairly close.  Thanks a ton aneesh!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question