View Full Version : z axis (zooming)
chris.carnage
September 15th, 2005, 06:54 AM
Hi,
Does anybody have an example .fla of how this is done??
http://www.thephaeton.co.uk
Any help much appreciated
Thanks
mpelland
September 15th, 2005, 10:31 AM
I am not too sure how they did it. But I have always been a fan of the quick and easy _xscale and _yscale, then just adjusting the _x and _y to compensate for the movement
Seajay
September 15th, 2005, 02:06 PM
Yeah, I'd agree...
I've used something similar to do the zoom on the map on this site:
http://www.institutenorth.org/mapinterface.html
Of course my site is ugly like a... well anyway... and the VW site looks pretty cool, but I'm pretty sure it's done the same way.
-+-+-+-
Actually, thinking about it more later, I changed my mind. The VW site probably dynamically attaches movieclips to represent the data nodes as they are needed, probably based on a whompin' big XML file on the back end. So I don't think the whole site is one node map that is x and y scaled, but probably a bunch of dynamic movie clips that are populated on screen as needed.
At least that's how I'd do it. Am I making any sense at all?
chris.carnage
September 19th, 2005, 04:21 AM
Thanks for the help guys..
Does anybody have a simple .fla that I can take a look at?
Thanks again...
Chris
senocular
September 19th, 2005, 05:11 AM
see the bottom of
http://www.kirupa.com/developer/actionscript/shape_camera.htm
chris.carnage
September 19th, 2005, 06:10 AM
yes, thats the effect im looking for, only I need a finite number of stars (so you can reach the end and when you click a blank area, it goes backwards one level at a time each time you click.
Also, I need the functionality to load a swf when a star reaches its destination. Oh, and i would like to be able to set the position and scale of each of the clips as the movie starts, not have it placeing them randomly..
I know this is a huge ask, but if anybody could help in any of those areasm that would be really great,
Thanks
senocular
September 19th, 2005, 06:21 AM
As you wait for someone to do the work for you, you can try reading the tutorial and seeing if you cant start it yourself (you know, in case no one puts out) ;)
theflash
September 19th, 2005, 10:42 AM
thanx sen nice tut.... will give it a shot...
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.