?
Solved

How to zoom?

Posted on 2004-04-08
5
Medium Priority
?
312 Views
Last Modified: 2010-04-03
Hi expert!
example, i have an circle and i want to auto Zoom out and Zoom in it! How to make it! certainly zoom slowly as a slide show!! thanks
0
Comment
Question by:manyspeed
[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
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Montoya
ID: 10789083
do you want it to zoom when you do something? On click? On rollover? When do you want it to zoom out? When do you want it to zoom in?
Do you just want a loop of a growing and shrinking circle?

Please let us know and we can provide a better answer for you. Have a great day!


:)

0
 
LVL 9

Accepted Solution

by:
krishnaprathab earned 600 total points
ID: 10790242
Hi,

 Assuming you have a circle in your stage and two buttons , one named zoomin and another zoomout as the instance names. The script which would achieve what you are trying to so would be like:

zoomin:

on (press)
{
 _parent.myCircle._height =  _parent.myCircle._height+10;
 _parent.myCircle._width =  _parent.myCircle._width+10;
}

zoomout:

on (press)
{
 _parent.myCircle._height =  _parent.myCircle._height-10;
 _parent.myCircle._width =  _parent.myCircle._width-10;
}


I have posted you the example fla at the below loaction take a look at it :

http://s6.invisionfree.com/flashmx/index.php?showtopic=2

Thanks,
KP
0
 
LVL 1

Author Comment

by:manyspeed
ID: 10790770
thanks!
To Iammontoya,
Can you show me 3 situation? auto(like cartoon), click, rollover.
To krishnaprathab,
Thanks, i will check.



0
 
LVL 9

Expert Comment

by:krishnaprathab
ID: 10824905
Hi,

Did my reply answer your question. If so please close this question or if you need some more help on this feel free to ask.

Thanks,
KP
0
 
LVL 1

Author Comment

by:manyspeed
ID: 10849974
thanks, great.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

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