Solved

FLASH MX + scale movie clip when dragging

Posted on 2004-10-02
3
319 Views
Last Modified: 2008-01-09
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
Comment
Question by:dkilby
  • 2
3 Comments
 
LVL 9

Expert Comment

by:j3one
ID: 12210430
You could put the movie clip in a button, then change the "down" state or frame to the reduced size.
0
 
LVL 13

Accepted Solution

by:
FLAASHER earned 500 total points
ID: 12210509
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
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12211863
Thanks man 4 the points :)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now