Zoom In From Space?

Jun 9, 2009

I want to create a piece of flash where it starts off in space and shows the earth and then after about 5 or 7 seconds it zooms into the earth and into the UK.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Stars/Space Zoom Effect?

Mar 4, 2005

Looking for a zoom through space & starfield effect. I've seen horizontal ones but I am looking for stars coming at you head on. Similar to the snow tutorial. Random generated stars zooming at you....

View 3 Replies

ActionScript 2.0 :: Stars / Space Zoom Effect?

Mar 4, 2005

Looking for a zoom through space & starfield effect. I've seen horizontal ones but I am looking for stars coming at you head on. Similar to the snow tutorial.

View 3 Replies

ActionScript 3.0 :: Making Game - Zoom In And Out By Holding And Letting Go Of The Space Bar?

Dec 28, 2010

I am making my first game and it's my first time using actionscript. I am making a sniper game themed with the L96A1 sniper rifle from COD: Black Ops and the map nuketown. I'm in cs5 with ac3 and on my stage I have two movie clips that I'm working with. I'm not really sure if they're supposed to be movie clips though. Anyways, one is the gun, and the other is the zoomed in scope overlay thingy.

For now, I'm trying get the zooming in to work. I haven't done anything else though except collect graphics for enemies, the landscape, the gun, and the scope. I want to make it so that you zoom in and out by holding and letting go of the space bar. Also,I want to make it so that when you are not zoomed in, the gun moves horizontally at the bottom of the screen (aligned vertically with the cursor). And when you are zoomed in, the scope crosshair is the cursor.So my idea was to set the gun as the cursor and make it only move horizontally at the bottom of the stage and then make an event listener that listens to when the spacebar is pressed and when it is, disables the gun as the cursor (and makes it transparent to get it off the screen) and makes the scope the cursor [was transparent, now opaque and unrestricted(vertical movement also)].

I got as far as making the gun move horizontally at the bottom with the cursor. I cant get the event listener working because I don't really know how to go about changing the opacity of each movie clip and how to switch cursors. So I am asking how do I change the opacity and switch the cursors when the spacebar is held and then reverse those changes when the spacebar is released? Here's my code on an "actions" layer [I haven't done any animations yet, so everything is on frame 1. Also, I used a couple preset code snippets since I have no previous experience with actionscript (I can understand most of it though)]:

Code:
import flash.events.KeyboardEvent;
// make gun cursor
stage.addChild(gun);[code]..........

Here's a link to a zip archive with all the files used so far (I hope this google docs link works): link

View 2 Replies

ActionScript 3.0 :: Disable Function - Zoom In And Zoom Out By Clicking Button?

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

ActionScript 2.0 :: Continuous Zoom - Change The Code To Zoom In At The Same Amount?

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

ActionScript 2.0 :: Telescope-camera - Move Around The Scene And Zoom-in Or Zoom-out?

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

Actionscript 3 :: Zoom In Zoom Out Loop In Certains Buttons?

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

Android :: If Its Zoom In Or Zoom Out On Flex / Air TransformGestureEvent

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

ActionScript 2.0 :: Zoom In Zoom Out Double Click

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

ActionScript 2.0 :: Activate Zoom And Then Zoom In / Out

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

ActionScript 2.0 :: Zoom/Pan UI Won't Center On Zoom In?

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

ActionScript 2.0 :: Several MCs To Zoom In On Mouse Over And Zoom Out

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

ActionScript 2.0 :: Zoom Activation And The Zoom In / Out?

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

ActionScript 2.0 :: Edit Movie When Right Click The Movie / Wont Show All Things Like 'zoom In' / 'zoom Out'

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

ActionScript 2.0 :: Make Banner's "zoom In And Zoom Out" On A Movie?

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

Zoom In And Zoom Out Of Image?

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

ActionScript 3.0 :: Fit 10 MC's Into A Set Space

Feb 7, 2010

I have 10 MovieClips that all have a 25px width. And I need to them to fit within a space that is 305px in width. How would I find the space between each MovieClip so they will all fit evenly within the 305px of space?

View 2 Replies

IDE :: No Space After <p> In HtmlText?

Feb 3, 2009

I have been working with htmlText and everything is loading and appears fine with one minor exception. For some reason there is no space between paragraphs defined by the <p> tag. There will be a line break, but not the extra space between the paragraphs.

View 2 Replies

IDE :: LineStyle In Z Space?

Oct 27, 2009

All i am looking for is to draw a line from point 1 x, y z, to point2 x y z Since this was CS 4 and z properties are enabled, i wonder how i could do this for a line.

View 3 Replies

IDE :: Zoom In & Out Of A Map?

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

AS3 :: CS3 Space Invaders Game

Mar 15, 2009

I am making a space invader game as a uni project. Please seee attched file.I am getting an error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at MethodInfo-19()It only happens sometimes when an invader is removed in the moveBullet method I think but basically the game behaves incorrectly and sometimes goes to the You Win frame even if the user has lost or just lost a life.

View 1 Replies

ActionScript 3.0 :: How To Rotate Box In 3D Space

May 21, 2010

I'm using Flash CS4 and AS3 and trying to get this cube to look as though it's actually in 3D space. [URL]. I know that because it's really two dimensional I'm dealing with the panels being on set layers and I need them to dynamically figure out what panel should be brought to the front. I don't really even know how to tackle this... Is there code I can use to get it to constantly check what should be on top? How would it even test this?

View 5 Replies

Can't Add Space In Text File?

Nov 10, 2010

create a random name selector for the classroom. It works great but it doesn't like a space between two words. So I can't copy and paste a list with name and surname. It comes out with nonsense characters in the space.frame 1

stop();
var name = new Array();
var colour = new Array();

[code]....

View 6 Replies

How To Move A 3D Object In 2D Space

Jun 2, 2009

I'm trying to get used to the new way of doing things in CS4. Once I've created a MC and rotated it in 3D, how can I move it across the screen w/o rotating it further? I have a MC that rotates over several frames, and once it reaches the last one, I want it to stop rotating, then begin to slide in an X direction (while reducing the alpha). But no matter which tool I use or what I do on the timeline, the object is stuck in place and will only rotate and not move. Even the 2D X and Y settings in the properties panel are grayed out.

View 9 Replies

Unwanted White Space Around SWF

Oct 14, 2009

I have a web design for a client that was pretty much complete. They decided that they wanted to replace one of the graphics with a flash animation. When I added the swf file to the layout in Dreamweaver it apparently is adding some space around the swf which breaks the rest of the design. It looks to be about 4 pixels or so of space that is getting added. I experimented with padding, margins, borders on every element in the design. I tried changing the Scale parameter of the swf to "no border" and "exact fit". I tried enclosing the elements in a table. To simplify things I created a new blank page in Dreamweaver and added the two elements that are giving me grief. The original width of the design was 792.

On the top I had 2 graphics, the first was 212 wide and the second was 580 wide. The first graphic is the one that got replaced with the swf file. The swf is also 212 wide. But for some reason there is that extra space on the right side of the swf that forces the second graphic to the next line. You can see the example here: [URL]. This shows what happens when the original graphic was replaced with the swf. (The swf doesn't do anything as I actually replaced the client's swf with one I made that has the original graphic as the only item in the movie). If you look here: [URL]. I changed the width of the second graphic to 574 wide. That kept the graphic on the same line, but you can clearly see that the swf has the unwanted space to the right.

View 2 Replies

How To Delete Space In An XML File

Dec 6, 2009

I am trying to delete some copy but when I do it, it leaves a huge black space (previewed in Firefox and Safari on Mac) which is the space left when I deleted the script and I don't know how to close up the black space (like I would do in indesign or Word). I am doing something wrong but I don't know how to fix this simple thing.

[Code]....

View 3 Replies

Professional :: White Space On Right Of A Swf

Feb 21, 2010

URL...The problem is with the flash banner at the top. It was created with a utility for creating banners and displays in firefox without any problems. In IE 8 there is white space to the right and I cannot get rid of it anyhow.

View 5 Replies

ActionScript 1/2 :: How To Space Lines Using Css

Nov 7, 2010

I use cs4 flash 9 I use a css stylesheet I set margins with it and they work fine.  I read that leading is supported byt when I try it it doesn't work.  Could someone show ne a simple stylesheet that implements leading?

View 4 Replies

Center Your Work Space?

Jan 16, 2011

How to center your work space?  For some reason flash keeps putting my work canvas at the upper left corner. I can use the hand tool to move the window but it's not the same as if it were actual centered. Is there a way to place it back there?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved