Share 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? Link to comment Share on other sites More sharing options...
Share Posted December 21, 2013 Sorry, but this forum is only for questions related to GreenSock tools (LoaderMax specifically). Maybe try a more general forum like actionscript.org or kirupa.com. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now