Hi, Thanks for taking the time to look at my thread, I hope the title of this thread wasnt too confusing but here’s what Im TRYING to achieve…
Ive searched the forums, but im puzzled. Can someone talk me through this please…
I have a main movie with a dynamically created menu (uses data gathered from an XML file). Each menu item has an Action and Variables associated with this action.
<?xml version="1.0"?>
<menu name="mainmenu">
<item name="Home" action="gotoURL" variables="http://www.something.com/index.html"/>
<menu name="Gallery">
<item name="graduation" action="loadSlideShow" variables="graduation.xml"/>
</menu>
<menu name="Links">
<item name="Google" action="gotoURL" variables="http://www.google.com"/>
</menu>
(snippet of related functions in AS)
Actions = Object();
Actions.gotoURL = function(urlVar) {
getURL(urlVar, "_blank");
};
Actions.loadSlideShow = function(dataFileName){
var = "photoGallery.swf"+dataFileName;
loadMovieNum(var,"content_mc","POST");
};
Now as you can see from my XML file above one of my menu options is a photo gallery. What I would like to to is have one swf, i.e. photoGallery.swf, and load this into an empty movie clip called content_mc and pass it different XML files (same format, but different content). (see my loadSlideShow() function)
Can anyone give me any ideas on how to do this?