How do I change mc properties from a given anchor point?
I have been following Billy's animation via actionscript tutorial and everything makes sense, is working fine, etc but I have a technical questions that isn't addressed here. If i use a myMovieClip._xscale or _x etc the clip always scales, moves to or from, whatever based on the center point of the movieclip.
So how can I specify the point that all these changes are based on? lets say I want a clip to scale both x and y from the upper left corner instead of appearing to grow from the center or I want an object to start scaling but to leave the left side stationary and grow to the right. Is there something special that I need to be doing in the script or can I use anchor points for this some how?
when you make a movieClip it gives you an option to set the registration point in 8 positions on a square. You can also go into editing mode and use the align tool. Align to stage and you will align your clip to the registration point. If you have the registration point in the top right, it will scale from the top right.
hope that helps.
web
__________________
Reality is merely an illusion, albeit a very persistent one.
The registration point thing works fine when I scale any object within flash with the scale command etc. It also works when i use a tween. However Action Script seems to Ignore it When I use a AS to scale or move a movie clip it still always looks at the center point of the MC as the registration point even if I have moved the point manually else where. Can anyone help me out with this?