Solved

FLASH MX + scale movie clip when dragging

Posted on 2004-10-02
3
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

729 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