Hey Alex use the native matrix function in Flash 10:
myObject.transform.matrix3D.prependTranslation(100, 0, 0); is equivalent to myObject.moveForward(100); On Mon, Feb 1, 2010 at 3:50 PM, Alex Szeremeta <[email protected]>wrote: > Thanks for the reply Fabrice, > should I want to port my project to away3dlite, I've noticed that the > moveFroward and moveBackward methods do not exist, how would I then > calculate such movement local to the 3dobject? > > Alex > > ------------------------------ > From: [email protected] > Subject: Re: [away3d] Tween moveForward and moveBackward values > Date: Mon, 1 Feb 2010 11:33:14 +0100 > To: [email protected] > > > Yes, all classes related to position/animation require an update call on > Enterframe. > > Hi (first post) and am loving away3d! > > Nice to hear :) > > Fabrice > > > On Feb 1, 2010, at 11:29 AM, Alex Szeremeta wrote: > > Hi (first post) and am loving away3d! > > Is it possible to tween the moveFroward and moveBackward values of an > object using TweenLite.to(); ? (for example) I've been successful tweening > the moveForward and moveBackward values via the onEnterFrame incrementing > the value passed to moveForward(i). > > Am I looking at this the wrong way? should it always be handled within the > onEnterFrame? > > many thanks, > Alex > > ------------------------------ > Do you want a Hotmail account? Sign-up now - > Free<http://clk.atdmt.com/UKM/go/197222280/direct/01/> > > > > ------------------------------ > Not got a Hotmail account? Sign-up now - > Free<http://clk.atdmt.com/UKM/go/197222280/direct/01/> > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
