Load external swf into bytearray with adobe flash
问题 How can I load external swf into bytearray with adobe flash AS3.. Here is my code.. var my_url1:URLRequest = new URLRequest("SWF/Lesson1.swf"); my_url1.method = URLRequestMethod.GET; my_url1.contentType = "application/x-shockwave-flash"; var urlloader:URLLoader = new URLLoader(my_url1); var myByteArray:ByteArray = new ByteArray(); urlloader.data = myByteArray; It not works well. But it isn't give any error. How can I fix this problem? 回答1: You should listen for COMPLETE event and set the data