misternils
03-12-2008, 10:00 PM
This probably isn't this complicated, but i am way over my head in scripting here.
I have an XML file that creates a menu for FLV videos which are loaded from an external site.
I want to be able to load an ID# from the xml and plug it into the movieclip which loads the external FLV, so that the video corresponds to the correct menu item.
this could be wrong but i assume that I essentially want to be able to do this:
variable = "video id #"
then the next part being in a loaded movieclip:
config["videoRef"] = "variable";
Its possible that that wouldn't even work, but i think it would.
The part that I know i definitely don't know is how to make it so when i click on a menu item, it loads the right "video id #" from the xml and puts it into the variable.
I can post all my code if it would be helpful, i just don't want to scare people off from even looking at the post.
I have an XML file that creates a menu for FLV videos which are loaded from an external site.
I want to be able to load an ID# from the xml and plug it into the movieclip which loads the external FLV, so that the video corresponds to the correct menu item.
this could be wrong but i assume that I essentially want to be able to do this:
variable = "video id #"
then the next part being in a loaded movieclip:
config["videoRef"] = "variable";
Its possible that that wouldn't even work, but i think it would.
The part that I know i definitely don't know is how to make it so when i click on a menu item, it loads the right "video id #" from the xml and puts it into the variable.
I can post all my code if it would be helpful, i just don't want to scare people off from even looking at the post.