Loading external swf that contains xml files in Loading (Flash) Posted December 21, 2013 Hello import flash.events.MouseEvent; import flash.display.Loader; import flash.net.URLRequest; front_mc.play_mc.addEventListener(MouseEvent.CLICK, playClicked); function playClicked(event:MouseEvent):void { var loader:Loader = new Loader(); addChild(loader); addChild(front_mc); loader.load(new URLRequest("assets/panoplayer.swf")); } I wırote this code my project. My swf file contains xml files. When I test my project, It could not load: images/cube.xml from panoplayer.swf. How can I load the swf with its xml?
Loading external swf that contains xml files
in Loading (Flash)
Posted
Hello