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?