Beno, Just a request, it would help me consider your question if you only posted the relevant code, or better yet, even a simplified version of the relevant code. You really don't need to post all those import statements for example, if your question is about a registration point. When I see people post a ton of code like this, I skip over it and don't bother replying, I admit. You just did this again just now with your post, "SWF Doesn't Render". If you're posting everything because you're not sure what for example, URLRequest does, or how TweenLite works, then you should take time to understand those first, before posting everything. Ask a small simple question about URLRequest first. It's only fair to the rest of us. If you DO already know what those do and how they work, then there is no need to post that part of your code, because through your testing, you should have confirmed those parts of your code already work.
Also, by doing this, it helps you critically think about the problem first before sending your reply. Otherwise, I'm one of those who will just keep skipping over your posts. You posted yesterday on Flashnewbies, a nice, concise question, which I had time to read over and reply - I would recommend you follow that model to get the best out of these lists. Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of beno - Sent: Tuesday, February 09, 2010 6:56 AM To: Flash Coders List Subject: [Flashcoders] Registration Point Issue Hi; I have this code: package { import flash.events.Event; import flash.events.ProgressEvent; import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.DisplayObject; import flash.net.URLRequest; import flash.display.Shape; import flash.geom.*; import flash.display.Bitmap; import flash.display.BitmapData; import flash.filters.GlowFilter; import flash.filters.BitmapFilterQuality; import flash.geom.Rectangle; import com.greensock.*; import com.greensock.easing.*; import SpinningWorld; public class GlobalSolutions extends MovieClip { //Import Library Assests public var mySpinningWorld:SpinningWorld; public var radius:int = 500; public var textureMap:BitmapData; public var myLogo:Bitmap; public function GlobalSolutions() { init(); } public function init():void { mySpinningWorld = new SpinningWorld(); mySpinningWorld.x = -500; mySpinningWorld.y = -500; mySpinningWorld.alpha = 0; addChild(mySpinningWorld); TweenLite.to(mySpinningWorld, 1, {x:-100, y:0, scaleX:0.4, scaleY:0.4, alpha:1}); loadImage(); } private function loadImage():void { var path:String = "images/logo.png"; var req:URLRequest = new URLRequest(path); var loader:Loader = new Loader(); loader.load(req); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loaded); } function loaded(evt:Event):void { var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = 1000; displayObject.y = 208; addChild(displayObject); displayObject.alpha = 0; TweenLite.to(displayObject, 1, {x:65, y:117, scaleX:0.5, scaleY:0.5, rotation:520, alpha:1}); } } } For some reason, "logo.png" describes an arc as it spins on its axis, similar to, say, the Earth spinning on its axis while simultaneously rotating around the Sun. The gent from greensock tells me this is because I've misplaced my registration point, but this graphic doesn't have a registration point as far as I can see. So what gives? How do I get rid of the arcing? TIA, beno _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

