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.
Adobe Flash

Avatar of undefined
Last Comment
slovisa
ASKER CERTIFIED SOLUTION
Avatar of Zeffer
Zeffer
Flag of New Zealand image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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.
Adobe Flash
Adobe Flash

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo