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


Similar Posts:


Professional :: Camera Pan And Zoom, 3D Navigation?

Aug 29, 2010

I'm looking to create something in style with this (arrow key navigation), and despite being the creator of that flash movie, I've managed to forget the code.

View 1 Replies

ActionScript 3.0 :: Papervision Restrict Camera Movment And Zoom

Apr 16, 2008

I've got to do a project with with 3d so have turned to papervision. Basically, I have 5 planes that I want the camera to rotate around but only to a point. When the camera reaches an x value of either -1000 of 1000 the camera movement should stop and not go past that value (but obviously the other way).Also, I need to add a function to click one of the planes and it comes to the front and fills the stage (it's aspect ratio will be the same as the stage). The code I'm using the standard Lee Brimlow tutorial code:[code]So basically, the cameras movement is restricted to between -1000 and 1000 and you can click on the planes and zoom into them so they fill the screen.

View 1 Replies

Professional :: Make The Camera Zoom As An Animation Plays?

Aug 10, 2011

make the camera zoom as an animation plays from an entire body shot to a closeup of the head?

View 3 Replies

ActionScript 3.0 :: Papervision - Flying Zoom In Camera Function Example?

Apr 13, 2011

How should I code/setup a camera animation where the camera zooms in on an animation (just cubes) and when it reaches the appropriate view the animation starts?

View 1 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 :: Get The Move And Zoom To Be Smooth So The Users Can See It Move Across The Screen Then Gradually Get Bigger?

Apr 11, 2004

tutorial where when you click on a movie clip it moves to a certain location on the page and then zoom in and makes it a certain size. Also i want it to move back to its original location if you click it again.I want the move and zoom to be smooth so the users can see it move across the screen then gradually get bigger.

View 5 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

Professional :: Zoom In / Out On Character In Scene

Apr 26, 2011

I have a scene where I want to zoom in on a character's face, and after a while zoom out slowly into the background. I tried to tween all of the layers together but it plays out awful...any way to do it with the stage itself?

View 7 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 :: Move Zoom Slider Remotely

Jul 15, 2010

I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. URL...This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.[code]

View 2 Replies

ActionScript 3.0 :: Zoom/move An Image, Which One Should Choose?

Dec 4, 2009

I want to zoom/move an image.

I found there are many ways to do that:

1. to use an Image control , change the x, y, widith,height . Or to call move method.

2. to use zoom/move effect.

3. to create a custom control, using BitmapData and apply the specific metrix.

how to use these methods and what's the difference.

View 1 Replies

ActionScript 2.0 :: Move Zoom Slider Remotely?

Nov 19, 2009

I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. [URL]This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.

Code:

stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
map_mc.site40_mc.gotoAndStop(1);
};

[code]....

View 2 Replies

ActionScript 2.0 :: Scale Too Say 150% And Move To A Different X Y Position And Zoom

Apr 19, 2004

how i could create a function to do the following:- I have a mc and when you click on it i want it to scale too say 150% and move to a different x y position, then when you click on it again i want it to go back to its original size and position.

View 4 Replies

ActionScript 2.0 :: Setup The Zoom And Move For The Site?

Jan 12, 2004

[URL] setup the zoom and move for their site. When I try to do it, everything [eventually] ends up in the right spot, but it seems to "start" the scale at the middle and then after its completed the zoom, it moves the x and y values. I can't seem to get them to do both at the same time.

View 8 Replies

ActionScript 3.0 :: Scale All MCs & Move Closer Together As Zoom Effect?

Sep 6, 2011

i'm making a game where a ship moves from a random starting position to a target but I want to be able to zoom in & out (its a plan view) so would therefore need some way of scaling all MCs on stage equally & move them closer together when zooming out.. how I might do this? I thought maybe putting everything within 1 MC possibly?

View 1 Replies

ActionScript 2.0 :: Move Icon1 To Center Of Stage After Zoom Map?

Jun 20, 2007

I have a point in MC (map/map1/icon1), I want to move icon1 to center of stage after zoom map.

View 4 Replies

ActionScript 2.0 :: Code To Move Zoom Slider, Remotely?

Jul 10, 2010

I have zoom code here

Code:
onClipEvent(load){
scrollMin = _root.range._x+_root.range._width // minimum _x value possiible for scrollbar
scrollMax = _root.range._x // maximum _x value possiible for scrollbar

[code]....

Do I have to copy and paste all of the slider code into the frame where my btns are? _root.srchMC.dataMC.site1_btn.onPress...

View 2 Replies

ActionScript 3.0 :: Zoom And Move The Viewing Area Around On The Site Layout?

Mar 13, 2009

I'm trying to create a site where all of its sections are laid out side by side and the user can zoom into each section to check it out, just like this site: [URL]I have the actionscript that allows the user move the viewing area around, but im not sure how to incorporate the zooming into it. What I need might be something different entirely. Here's that:

on (release) {
_root.motionx = -950;
_root.motiony = -700.0;
_root.motionScale = 100;
}

View 2 Replies

ActionScript 2.0 :: Tween Class - Move To Screen Area And Zoom Nav

Feb 11, 2006

I'm trying to achieve a simplified version of the move to screen area and zoom nav similar to: [URL]. I've read and completed the macromedia tweening tutorials [URL] and gained overview of tween class etc., So, I created an example (credit :sophistikat) using the macromedia tween class:

Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
myBtn.onRelease = function () {
//first move to center in one second witih no delay
main_mc.tween("_x", 50, 1, "easeinoutElastic");
main_mc.tween("_y", 50, 1, "easeinoutElastic");
// and in 2 seconds scale closer
main_mc.tween("_xscale", 150, 1, "easeinoutElastic", 2, true);
main_mc.tween("_yscale", 150, 1, "easeinoutElastic", 2, true);
}

The script in layer 1, the bt in layer 2 and the main_mc in layer 3 - all correctly 'instanced'. But not working - the main_mc isn't moving and then zooming in when btn is clicked.

View 3 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

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







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