?
Solved

FLASH MX + scale movie clip when dragging

Posted on 2004-10-02
3
Medium Priority
?
330 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

719 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