ActionScript 3.0 :: Extreme Zoom From U.S Map To Close-up Satellite Imagery?
Aug 3, 2009
I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving this effect by playing a short flv video captured from google earth. The first frame is identical to the map image, then it rapidly zooms in (about 1 second) to the location, the last frame is the same as the satellite imagery of the location.
It looks pretty good, but each zoom video is 1 to 2mb to achieve video quality which matches the satellite imagery and looks good with such extreme movement. The problem is the flash presentation is too large with all the videos, can I achieve the same affect with images? Something like a deep zoom effect? Is an image zoom technique practical considering I'm zooming into the whole country image way beyond a single pixel of the image all the way down to satellite imagery? it doesn't have to be in flash, but I can't use the Google Maps API because it has to work offline.
View 1 Replies
Similar Posts:
Aug 3, 2009
I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving this effect by playing a short flv video captured from google earth.The first frame is identical to the map image, then it rapidly zooms in (about 1 second) to the location, the last frame is the same as the satellite imagery of the location.It looks pretty good, but each zoom video is 1 to 2mb to achieve video quality which matches the satellite imagery and looks good with such extreme movement.The problem is the flash presentation is too large with all the videos, can I achieve the same affect with images?Something like a deep zoom effect?Is an image zoom technique practical considering I'm zooming into the whole country image way beyond a single pixel of the image all the way down to satellite imagery?
View 1 Replies
Jan 20, 2010
ive got a file uploaded for all you to see,i cant seem to find a way for the satellite to be masked behind the planet.although i think with the motion im on the right track,im stuck on the masking.
View 6 Replies
Jun 1, 2008
I have built a page in dreamweaver. everything is showing up as it should, but I currently have 3 problems
1. I have a .flv loaded into a flash file and that .swf loaded into my dreamweaver file. It shows up when I preview the file in dreamweaver but not when I load the file. Why does it not show up when I push the site live? I have all of the assets loaded.
2. I have created a .swf that loads images externally. The .swf shows when I load it, but the external imagery are not showing up when I push the page live.
3. I have all of my links set to one color, but for some reason they are all showing up blue.
View 2 Replies
Aug 1, 2006
I came across this tutorial. [URL]. I wish to expand it into a xml loaded gallery. I thought simply replacing a simple name would work (changing the pic_mc in the as to the name of the MC I use to load my xml images. however, it doesn't work. Infact in cocks up my whole script, and it wont run the xml images any more. I am not on the level to write a code myself as shown in the tutorial i linked, and so I only partially understand it (this I assume to be the position many of us are in) so its hard for me to really adjust it.
Heres the basic document I am trying to cross it with [URL].
View 8 Replies
Aug 21, 2009
I double-clicked on a bitmap-item in the library and instead of opening the properties-windows where you can change compression, import and so on, the focus changed to a random explorer window and flash got "locked". Flash probably thought that it actually opened a new sub-window and waited for it being closed, but there was no such window! Seems like the open-procedure failed and the next window to focus on was just an explorer window. Closing this one didn't get the focus back to flash. What a luck, I could still save the file using ctrl-s but couldn't get back to the application. So I had to kill Flash with the task-manager.
View 1 Replies
Jul 27, 2009
i want to close browser by clicking on close button embedded swf. I have tried fscommand("quit"), but which is not working on browser.
View 9 Replies
Feb 7, 2012
I want to make a scope wich can zoom in on button click and go back to previous stage (zoom out) also by clicking a button.Now i made it work for zooming in (when i click my button it zooms) but when i want to zoom out everything i tried didn't work .Here is the code:
//button for zoom in
zoom.addEventListener(MouseEvent.CLICK,glassMove);
function glassMove(event:MouseEvent):void{[code]..............
View 1 Replies
Jun 7, 2004
i've made a button that zooms into a movie clip on a rollover, but it on moves it a certain amount each time you rollover the button. code below:
on (rollOver){
_root.Mypic._width += 5;
_root.Mypic._height += 5;
}
wot i want it to do is to continue zooming in for as long as the mouse is over the button, is there anyway i can change the code to zoom in at the same amount but do it continuously until the mouse is moved off the button. Also is there anyway that i can set it so that the zoom stops at a certain percentage, i.e. it only zooms in so much and then stops. What i mean is that the user can zoom in but the picture will only zoom in to say 200% of the original size.
View 14 Replies
Dec 14, 2005
I am working on flash application TELESCOPE or Camera. My goal is to move around the scene and zoom-in or zoom-out I found that if I move scene, I have to move registration point, because I always want to zoom in the centre of my ocular. So far application works fine only if I move, zoom-in and than before I move any further, zoom-out! But when I move, zoom-in (not fully), move again and zoom-in again, the second zooming doesn't appear on desirable registration point
View 1 Replies
Dec 15, 2011
I have this code for my effect to zoom in and zoom out in certains buttons
canada.addEventListener(MouseEvent.MOUSE_OVER, canadaover);
function canadaover(event:MouseEvent):void
{[code]....
the problem is when u reach certain corner of the button it kinda gets into a loop, any ideas how can i fix this?
View 2 Replies
May 13, 2011
Using flex / air 2.6 working on an Android device, I am using a canvas with a TransformGestureEvent for zoom in on a map. The listening of the efect is working ok, but I can´t seem to find the information on wether the user intended zoom in or zoom out (fingers getting closer or getting apart).I expected the intention of the gesture to be identifiable with the offsetX and offsetY properties of the event, as you will do on a swipe gesture event. But I always get 0 for both properties, no matter how I do the gesture in the device.How can I know if the fingers getting closer or getting apart in a gesture zoom event?
View 1 Replies
Oct 26, 2009
i had a flash file, and the image was dynamically loaded in a movieClip. when i double click the image it will zoom max. and another double click it will retain its best fit.
View 0 Replies
Apr 14, 2009
I need to have a button to be clicked for the zoom effcet to be activated, then when the mouse hovers over an image it should zoom to 200%. I have 40 images which I'd like to have this effect by.Also when the cursor is over the image is it possible to make the change the cursor to a magnifying glass?
View 1 Replies
Jul 8, 2009
I'm developing a full screen zoom/pan UI. Everything is working great, except I can't get it to center on the correct point when zooming in.
You can view what I have here: [URL]
The numbers in the top-left corner are the navigation, and the white boxes represent the individual sections.
I have a large container movieclip that fills the entire page. Inside of that movieclip (site) I have all of my individual section movieclips (section1-section6). I'm also using a dynamic registration point class to dynamically set the registration point of the "site" movieclip to the current selected section, so that the zoom in/out is centered on that section.
When a user clicks on a navigation item, I first reduce the _xscale and _yscale of "site" to 80, when that is complete I move _x and _y to the position of the selected section's movieclip. When that is complete, I set the _xscale and _yscale back to 100. Right now, it is not zooming in centered, so I have a final step where I correct the _x and _y position after zooming back in.
If I don't zoom in/out I can successfully pan the movieclip and center on the correct section. I believe the problem is that I am moving the _x and _y to the position of the "site" movieclip as if it is at 100%, but since it is at 80% it is not moving to the correct position. I tried to fix this by giving the _x and _y coordinates as:
endX = endX / 100 * 80;
Which made it a little better, but still not centered. I have a feeling that there may be a fundamental flaw in my approach to this.
For some reason the forum won't let me attach my .zip, so I posted it online, as well: [URL]
My code below, in case you don't want to download the file:
Code:
tile._alpha = 0;
currentSection = section1;
//** Set Stage **//
[Code]....
View 1 Replies
May 9, 2004
How to make several MCs to zoom in on mouse over and zoom out to it�s original scale on mouse out??? all this with actionscript and with some ease (elasticity) to make the motion more natural?
View 2 Replies
Apr 14, 2009
I need to have a button to be clicked for the zoom effcet to be activated, then when the mouse hovers over an image it should zoom to 200%. I have 40 images which I'd like to have this effect by.Also when the cursor is over the image is it possible to make the change the cursor to a magnifying glass?
View 3 Replies
May 23, 2002
how do you edit a movie so that when you right click the movie...it wont show all the things like "zoom in" or "zoom out"???
View 2 Replies
Aug 6, 2003
i have visited a very good flash site..I gotta give credit for their dedication and their work as well. [URL] I wonder, how they put all those animation in a banner with that small size of file ? I mean banner's size is not big at all. My other question is that, how do you make it "zoom in and zoom out" on a movie..Like on those banners. Do they binding all the layers to make it a movie then resize it on the movie or what?
View 3 Replies
Aug 11, 2011
i want to zoom in on an image by clicking one particular region and zoom out by clicking again. how can i achieve this.
View 6 Replies
Mar 23, 2007
*let say i have a mc called A. it can call a MC with an instance name called window_btn.window can be drag and double click.i want to put a close button in the window MC to close the window.
how to call the close button in the MC?
View 14 Replies
Feb 28, 2011
I opened from my main swf a new one with addChild. Now in the 2nd swf i need a button to close this swf and open another one ... I done this way because the button i puted in the main swf does n´t work (maybe because i´m using in both swf liquid layout with a resize function). How can i do to close the 2nd swf and open another one.
View 2 Replies
Mar 10, 2012
I have a pop up box on a button which does open and close but I would like to add an X to the corner which would also close the box.
View 2 Replies
Dec 5, 2009
I've got a website/blog about legends of England in French, and I've made a basic map of United Kingdom with the legends location as dots with a rollover effect and links (look atMy problem now (and I knew it would come to that stage someday) is some dots are really near to each other, and as more and more locations will be added less clear will be the map...What is the best way to zoom in and out of the map keeping the dots in place?
View 9 Replies
Sep 13, 2004
Does anyone know the syntax for closing a swf window using a button, similar to closing a popup window? I am creating a small game, and am giving the user the option to "play again" or "quit" at the end of the game, so i want the quit button(standard library on(press)) to close the swf file.
View 2 Replies
Jan 31, 2008
I have a picture with an invisible button, once clicked on the button runs a movieclip with an instance - box1, once its opened a close button appeared, called closeBtn1 and the idea is when thats clicked, for box1 to gotoAndPlay frame 80, but no matter where I put the code it doesnt seem to let the closeBtn work! Even trace actions aren't getting recognised![code]as u can see I'm trying to trace even if the closeBtn gets rolled over but to no avail.I have also tried it from scene level and still no joy.
View 7 Replies
Aug 31, 2010
I have an .exe with a button that opens an outside .swf. I want to include a close button on that .swf that closes just that outside movie. I tried:
on (release) {
fscommand("quit");
}
But that closed the whole exe.
View 1 Replies
Nov 17, 2007
I have a bug in my Flash cs3. After I close the program, it is still running.What I mean is, if I check task manager (Ctrl, Alt, del) Flash.exe is still running. Also, I can no longer re-open Flash unless I end the process in task manager first.
View 5 Replies
Feb 17, 2010
I am trying to follow the exercises in the "Classroom In A Book" for Flash CS4 and I am having problems already on exercise 2. the problem is that I can not close the shape, whilst using the pen tool and anchor points. I have tried to make the anchor points extend further than the stage and then clicking on the first anchor point as the book suggests, however, a new line is drawn through the stage, to the first and last anchor point. The problem is I can not add the fill colour.
View 1 Replies
Apr 1, 2010
I'm currently working with a flash movie that opens up an IE browser to an external link.Since I'm working with a presentation that plays automatically after a few seconds and keeps loading new IE browsers with different links, I was wondering if there was a way with AS2, i can have flash close the IE window it opened?
View 1 Replies