If you have a graphic in a symbol, then it has a registration point.
Nathan Mynarcik Interactive Web Developer [email protected] 254.749.2525 www.mynarcik.com -----Original Message----- From: beno - <[email protected]> Date: Tue, 9 Feb 2010 07:55:49 To: Flash Coders List<[email protected]> 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

