var myLoader:URLLoader = new URLLoader();var myRequest:URLRequest = new URLRequest("context.txt");myLoader.load(myRequest);myLoader.addEventListener(Event.COMPLETE, loadText);function loadText(e:Event):void {myText.text = myLoader.data;}
張貼留言
沒有留言:
張貼留言