Solved

How to zoom?

Posted on 2004-04-08
5
301 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
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Iammontoya
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 150 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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,…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

759 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

22 Experts available now in Live!

Get 1:1 Help Now