Re: [Flashcoders] scale MC using another MC as registration point

2006-11-09 Thread Jon Bennett
umm, thought it was perfect - but after a couple of hours, I'm still struggling to get it to work, I've put the fla online, if someone's got a sec to look through, I'd really appreciate it! sorted it! was a combination of having a central registration point on the affected clip, not using the

RE: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Steven Sacks | BLITZ
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm ___

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! jon -- jon bennett t: +44 (0) 1225 341 039

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var orgX = (((pane.width-16)/2)+pane.hPosition)/(pane.content._xscale/100); var orgY =

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
ps this centers the zoom around the center of the scrollpane instead of a dot On 11/8/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! umm, thought it was perfect - but after a