Solved

A dynamic XML flash gallery

Posted on 2006-06-20
2
714 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

690 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