rbakereu
asked on
Using a button to zoom-in/zoom-out a draggable movieclip
My goal is to be able to increase or restore (200% then back to100%) the size of the movieclip with a button click, yet still have it draggable in it's zoomed state.
What would the code for the button look like?
I've attached the sample FLA
WorldMap-sample.fla
What would the code for the button look like?
I've attached the sample FLA
WorldMap-sample.fla
ASKER
The button doesn't exist yet — that's the easy part for me.
Well... My problem is that I don't really understand what you are trying to do just by reading your question nor looking at the graphics in the file...
CyanBlue
CyanBlue
ASKER
Okay. I'll place one if that helps. Thanks for taking a look — I appreciate it. I'll upload a new file soon.
ASKER
Better yet,
Here's a URL to a site that has a similar functionality that I'm trying to attain:
http://www.syfy.com/destinationtruth/map.php/
The button in the lower right hand corner is similar to what I have in mind.
Here's a URL to a site that has a similar functionality that I'm trying to attain:
http://www.syfy.com/destinationtruth/map.php/
The button in the lower right hand corner is similar to what I have in mind.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
EXACTLY!
zoomIn.onPress = function ()
{
All2_mc._xscale = All2_mc._yscale = 200;
}
zoomOut.onPress = function ()
{
All2_mc._xscale = All2_mc._yscale = 100;
}
Thank you once again for your help!
zoomIn.onPress = function ()
{
All2_mc._xscale = All2_mc._yscale = 200;
}
zoomOut.onPress = function ()
{
All2_mc._xscale = All2_mc._yscale = 100;
}
Thank you once again for your help!
Well... Let me object to that and I am sure a moderator will come in and solve the problem... You can also click on the Request Attention button...
CyanBlue
CyanBlue
CyanBlue