From: Ray C. <rc...@gm...> - 2006-09-01 01:19:27
|
What do you mean? Share! On 9/1/06, thomas mery <tho...@gm...> wrote: > the good old method > > I thought about somethin more complex where the new center was computed but > this is way better :) > > thanks > > > On 8/31/06, Ray Chuan <rc...@gm...> wrote: > > Hi, > > maybe you can attach it to another clip. > > > > Say you have a box w by h, which is originally at (x,y). You want the > > centre of rotation to be at (xc,yc). So, attach it to a clip: > > > > daddy_mc.createEmptyMovieClip("kid_mc", > daddy_mc.getNextHigestDepth()); > > daddy_mc._x = x-xc; > > daddy_mc._y = y-yc; > > kid_mc._x = xc; > > kid_mc._y = xc; > > > > Since the absolute coordinates of the attached clip takes into account > > the coordinates of the parent clip, kid clip appears at the point (x, > > y) but has rotation centre (xc, yc). > > > > To do this in ActionStep your movieclip heirarchy should look like this: > > > > mcBounds > > |- holder > > |- daddy_mc > > |- kid_mc > > > > On 8/31/06, thomas mery < tho...@gm...> wrote: > > > by the way is there a method (im not that good with maths ...) to shift > the > > > rotation center ? I know there probably is out there but already built > in > > > actionstep ? > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > -- Cheers, Ray Chuan |