Link to home
Start Free TrialLog in
Avatar of slovisa
slovisa

asked on

click and drag slider to scale movie clip

I need to create a slider that users can click and drag to scale a movie clip proportionately up/down.
This is an extension of question https://www.experts-exchange.com/questions/22404835/Allow-user-to-click-and-drag-to-scale-resize-movie-clip.html.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Zeffer
Zeffer
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of slovisa
slovisa

ASKER

Consistency is key for the end users. Sometimes this slider grows the circle, sometimes shrinks it - and sometimes does a little of both, depending on where the circle is placed. Could be confusing.

I've been working with this slider solution:
http://www.sitepoint.com/article/actionscript-animation-flash
and it works well with my drag and drop method.

Here's a re-work of your file, with my current code. It works great:
http://www.silverlinecreative.com/ee/slide_resize_v2.zip

My only remaining problem is that the movie clip I'm resizing in my "real" file contains a dynamically loaded JPEG. Although the movie clip is square, the shape gets a little out of whack when a non-square image is loaded into it.

I'll give you credit for this question, then post this final problem in a new question. I'd appreciate your help! Thanks again.