Solved

FLASH MX + scale movie clip when dragging

Posted on 2004-10-02
3
322 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
flash cs6 4 346
Updating Flash Player with GPO 3 352
Virus or Outlook 2007 problem, how to tell? 8 82
Windows 2008 Group Policy - An error occurred. Please try again later 2 87
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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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…

777 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