Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-19-2003, 11:36 AM   #1
tomatie
Registered User
 
Join Date: Apr 2003
Location: Cape Town, South Africa
Posts: 6
Default specific zooming

We are laying out HUGE maps in the background - viewable through a transparent window. We are trying to zoom in on these maps with a blip to show where they must go - we can get it to zoom but not so that the x, y coordinates that we clicked on are still in the centre of the screen with the blip still on the right spot? What actionscript or function would do this - with out putting the blip back AFTER resizing... it must stay visible??
tomatie is offline   Reply With Quote
Old 08-19-2003, 06:57 PM   #2
jubei
Chunky Samurai
 
jubei's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 469
Send a message via ICQ to jubei Send a message via AIM to jubei Send a message via MSN to jubei Send a message via Yahoo to jubei
Default

I recently made a project about the solar system, where the planets needed to animate, and then zoom on one. I found that because Flash zooms based on the centre point, i couldn't just zoom it and try to move it to keep it centred.

What i did was move all the guts of the solar system movie clip so the planet to be zoomed on was right over the centre point, and then scaled that movieclip.
jubei is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:11 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.