and my question....
I have two swf files. One displays results of a search, the other the specific information of a particular element from the search. The data for this is located in one XML document, using an attribute so i can select a specific elemtent. One swf loads the other. When I do this, I want to pass a string variable to the loaded swf to tell it to display the information on a particular element. My loading code is as follows...
function loadElement(event:MouseEvent):void
{
// load the element
myLoader.load(new URLRequest("element.swf"));
// add it to screen
this.parent.addChild(myLoader);
// remove search
this.parent.removeChild(this);
}
the variable i want to pass is a global String variable called "ref". How can i pass this, then access it from element.swf?
Thanks
Posted By: Steve on December 4th 2007 at 16:21:42
Message Thread
- Anyone good with flash cs3? (n/m) (General Chat) - Steve, Dec 4, 16:21:34
- and my question.... (General Chat) - Steve, Dec 4, 16:21:42
Reply to Message
In order to add a post to the WotB Message Board you must be a registered WotB user.
If you are not yet registered then please visit the registration page. You should ensure that their browser is setup to accept cookies.