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
rbakereuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyanBlueCommented:
Which one is the button that you're trying to zoom/drag???

CyanBlue
0
rbakereuAuthor Commented:
The button doesn't exist yet — that's the easy part for me.
0
CyanBlueCommented:
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
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

rbakereuAuthor Commented:
Okay. I'll place one if that helps. Thanks for taking a look — I appreciate it. I'll upload a new file soon.
0
rbakereuAuthor Commented:
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.
0
CyanBlueCommented:
Something like this???

CyanBlue
WorldMap-sample.fla
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rbakereuAuthor Commented:
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!
0
CyanBlueCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.