Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var loady:Loader = new Loader();
- loady.contentLoaderInfo.addEventListener(Event.COMPLETE,loadMe);
- loady.load(new URLRequest("_URL_"));
- function loadMe(e:Event):void{
- var loaded:Bitmap = new Bitmap(e.target.loader.contentLoaderInfo.content.bitmapData.clone());
- loaded.width = 90;
- loaded.height = 90;
- loaded.rotation += 90;
- addChild(loaded);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement