Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import flash.display.Loader;
- import flash.display.Sprite;
- import flash.events.Event;
- import flash.net.URLRequest;
- import flash.text.TextField;
- import flash.system.Security;
- /**
- * ...
- * @author Adil Hafeez
- */
- public class Main extends Sprite
- {
- public function Main():void
- {
- Security.loadPolicyFile('C:/habboswf/cross-domain.xml');
- var request:URLRequest = new URLRequest("C:/habboswf/bear.swf");
- var loader:Loader = new Loader()
- loader.load(request);
- addChild(loader);
- if (stage) init();
- else addEventListener(Event.ADDED_TO_STAGE, init);
- }
- private function init(e:Event = null):void
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment