• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

How to zoom?

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
manyspeed
Asked:
manyspeed
  • 2
  • 2
1 Solution
 
MontoyaProcess Improvement MgrCommented:
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
 
krishnaprathabCommented:
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
 
manyspeedAuthor Commented:
thanks!
To Iammontoya,
Can you show me 3 situation? auto(like cartoon), click, rollover.
To krishnaprathab,
Thanks, i will check.



0
 
krishnaprathabCommented:
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
 
manyspeedAuthor Commented:
thanks, great.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now