kifah
08-05-2007, 04:37 PM
Hello all
I have two SWF files :
swf1
public function play():String
{
Security.allowDomain('*');
Alert.show("I am in SWF 1");
return "kifah";
}
and swf2
public var urli:URLRequest=new URLRequest("SwfDispatcher.swf");
loader.load(urli); loader.contentLoaderInfo.addEventListener(Event.CO MPLETE,loaderHandler);
public function loaderHandler(e:Event):void
{
//e.target.content.flexApp=this;
//e.target.content.play();
}
How can I call Play method in swf1 from swf2 ??:rolleyes:
I have two SWF files :
swf1
public function play():String
{
Security.allowDomain('*');
Alert.show("I am in SWF 1");
return "kifah";
}
and swf2
public var urli:URLRequest=new URLRequest("SwfDispatcher.swf");
loader.load(urli); loader.contentLoaderInfo.addEventListener(Event.CO MPLETE,loaderHandler);
public function loaderHandler(e:Event):void
{
//e.target.content.flexApp=this;
//e.target.content.play();
}
How can I call Play method in swf1 from swf2 ??:rolleyes: