I hope I explain this simple enough.
I have a Flash file that will act as a slideshow, the images change when the sound that is to be played with each image is complete (using
soundX.onSoundComplete).
I have a folder for the sounds and one for the images. I have Flash load those assets via XML. I use XML to organize the order of playing the
images/sounds.
Like the following:
Calling external images that are organized by XML
[COLOR=Blue]<assets>
<ss1>
<images>image1.jpg</images>
<sounds>sound1.mp3</sounds>
</ss1>
<ss2>
<images>image2.jpg</images>
<sounds>sound2.mp3</sounds>
</ss2>
<ss3>
<images>image3.jpg</images>
<sounds>sound3.mp3</sounds>
</ss3>
<ss4>
<images>image4.jpg</images>
<sounds>sound4.mp3</sounds>
</ss4>
<ss5>
<images>image5.jpg</images>
<sounds>sound5.mp3</sounds>
</ss5>
</assets>[/COLOR]
My question:
Is there a way to not hard-code the image/sound names in XML and instead use it to organize and pull the assets from their respected folders? My goal is to
be able to have Flash and XML working as an automated process and all I have to do is add images w/their respected sound files in their folders and never
have to open Flash or XML. The Flash and XML would just automatically populate the slideshow per the number of image and sound files I add.
Thanks for any help.