Scuba_Steve
08-17-2007, 06:14 PM
dunno why this is giving me such a hard time...
i've got code on the main timeline that defined the path to an xml file. i need to then load that xml into a textArea component that is inside a SWF file that i loaded into an empty MC on the MAIN timeline.
confused? good - me too.
no matter what i do, i can't seem to trigger the xmlObject.onLoad method though in the swf i loaded into the empty mc.
my empty MC is called "topic_holder_mc" and loaded into it is "overview.swf". within that swf is the textArea object and all the code required to load XML into that object. the xml object's onLoad function is called "loadTrainingTopic(xmlPath)";
would someone for the love of God please help me here. :) i can't seem to send a value (xmlPath) to that function or even trigger it for that fact. i know the paths are correct regarding what xml to fetch from where, as i've added a trace statement to the onLoad and can't even get it to output so i know i'm not even reaching the function.:p
i've got code on the main timeline that defined the path to an xml file. i need to then load that xml into a textArea component that is inside a SWF file that i loaded into an empty MC on the MAIN timeline.
confused? good - me too.
no matter what i do, i can't seem to trigger the xmlObject.onLoad method though in the swf i loaded into the empty mc.
my empty MC is called "topic_holder_mc" and loaded into it is "overview.swf". within that swf is the textArea object and all the code required to load XML into that object. the xml object's onLoad function is called "loadTrainingTopic(xmlPath)";
would someone for the love of God please help me here. :) i can't seem to send a value (xmlPath) to that function or even trigger it for that fact. i know the paths are correct regarding what xml to fetch from where, as i've added a trace statement to the onLoad and can't even get it to output so i know i'm not even reaching the function.:p