hi all,
ok, i have an swf loading into main movie. the swf is an xml list of my porfolio works. next to it i have another swf being loaded which will be screenshots of the work that the user has clicked on in the xml menu.
my question is… how can i tell get teh right swf to load when the user clicks on an xml item? do i need to stick an id in an xml element? i’ve tried a few things, but as yet no cigar.
no, i’m cool with getting xml into flash, displaying it etc… what i need to know is how i can pass an id from an item in the xml menu to the flash movie so it knows which swf to display (which pertains to the xml item).
e.g
if someone clicks the “case study 1” link which is an item being pulled out of an xml file, i need some code saying something like:
if ‘case study 1’ is clicked, load movie ‘caseStudy1.swf’ .
this is as far as i’ve got: xml is loaded into the main movie. stuck it in an array which loops through the xml file displaying a list of case studies. i want the user to be able to click on an list item to display relevany info.