Apparently this is the question of the day - my question was
answered in the thread 'Rotating a mc around a custom pivotpoint'.
http://www.darronschall.com/weblog/archives/54.cfm
On Feb 13, 2006, at 3:10 PM, Lou Klepner wrote:
Hi all,
This might be a silly question - but I've been searching for a
while and haven't come up with a good answer yet.
The question is - how do you change a movieclip's anchor point at
runtime?
Lets say you've got a 400x300 movieclip, with an anchor point of
0,0 (upper lefthand corner).
If you want to change the anchor to 200,0 ... what do you do?
MovieClip.setAnchor(x,y) doesn't exist, right?
It seems like one would have to load the movie into another
movieclip, offset the position of the subMovie, then rotate the
parent clip right? Is this the only way? Any tips or tricks
would be greatly appreciated.
Thanks,
- Lou
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com