Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

FLASH MX + scale movie clip when dragging

I have a movie clip of a ball that i can drag around the screen, what i want to do it when i hold the mouse button down to start dragging the ball i want to scale the movie clip down by 50% then when i let go of the button it will scale back to normal, how do i do this

thanks for the help in advance
0
dkilby
Asked:
dkilby
  • 2
1 Solution
 
j3oneCommented:
You could put the movie clip in a button, then change the "down" state or frame to the reduced size.
0
 
FLAASHERCommented:
paste this action in the movieclip u want to sacle

on (press) {
      this._xscale=50;
      this._yscale=50;
}
on (release) {
      this._xscale=100;
      this._yscale=100;
}

and this is an example . i made a ball and paste the action and it work

http://www.northstartrading.com/dkilby.zip

see it and tell me
0
 
FLAASHERCommented:
Thanks man 4 the points :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now