Help with using loadMovie via XML
Hi all,
If anyone can point me to a tutorial or provide some basic script for flash and an XML file, I would be super appreciative:
I am creating a .swf shell/projector, that will use loadMovie to load different .swf files in and out as the user sees fit. The shell will basically be a screen and 3 simple buttons: back to beginning of clip, pause clip, and advance to the next clip, i.e. loading the next .swf. Easy enough in Flash, BUT... the client would like control in the future over which movies are playing in what order, as well as adding new .swf files themselves.
So they have proposed using an XML file that they can edit to change the order, add new .swf files, etc.
Is there anyone who can help? What i need is script for the shell buttons that will
A) immediately load "clip_1" by calling on the XML file to load whatever is currently being called "clip_1" (so that they can use different .swf files in the future with different names).
B) allow the "pause" button in the shell to stop the loaded clip from playing... this is confusing to me, because if the loaded clip is actually decided by the XML, how can the shell clip communicate with it?
C) finally, allow the "forward" button to load "clip_2" and then "clip_3" and so on, by calling up the XML and loading whatever they have designated.
finally, i need to know the syntax in the XML that will receive the "launch clip_1, level 1" command from Flash, and then load the designated .swf.
I cannot find any tutorials that cover this, and there aren't many threads that pop up here. Can anyone help?
thank you so much,
j