I’ve got my main fla file, which loads a swf into its content.
The loaded swf is an image scroller which loads images from a XML file.
What I’m trying to do is: when an image is clicked within the loaded swf the clicked image enlarges over the whole fla. file not just the swf.
What I have at the moment is:
///////CODE/////////in scroller file.
function clickScrollerItem(e:MouseEvent):void {
trace("clicked item " + e.currentTarget.itemNum + " - visit url: " + e.currentTarget.link);
var urlRequest:URLRequest = new URLRequest(e.currentTarget.link);
var testLoader:Loader = new Loader();
scroller_holder.addChild(testLoader);
//navigateToURL(urlRequest); //open in new window
testLoader.load(urlRequest); // open in current window
}
/////////////////
scroller_holder is a holder on the main stage of the swf.
I know it’s something to do with MovieClip(parent) and sending data via a function but struggling some what.
Any help would make me very happy