ActionScript 3.0 :: Zoom & Panning Using Vcam, Or Different Methods

Jan 12, 2012

I'm working on a project where I need to be able to zoom in and out and pan on an image. I've downloaded vcam as it seems like a quick and easy way to do this, but I would like to have buttons that control its movements rather than the timeline.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Creating Map Controls Such As A Zoom Sliding Bar And A Panning Function

Jun 14, 2010

I am making an interactive map and am having trouble creating map controls such as a zoom sliding bar and a panning function.

View 1 Replies

ActionScript 3.0 :: Zoom On Panning Class - Cannot Seem To Get The Image To Scale Without Also Scaling The Container _rectangle

Aug 27, 2010

I'm trying to add zoom functionality to Lex Talkington's great Panning Class HTML Code: [URL] and have run into the following issue: I cannot seem to get the image to scale without also scaling the container _rectangle. Here's my code

[Code]...

View 2 Replies

ActionScript 3.0 :: Flash Snap VCam To A MC?

Jun 30, 2010

I'm wanting to design a sort of DVD chapters menu. Ya know, where each chapter has an animated thumbnail of each scene.

I converted some small clips of animation into MC's. If I put one of those MC on the stage, VCam(within the MC) naturally scales the MC to the stage dimensions.

Is is possible to Scale & XY pos VCam to the dimensions of a targeted MC on stage? I'm open to other solutions. but would find this hella handy to be able to place a MC (Example: a panning Security Cam) into a graphical monitor on a scene, etc.

VCAM AS3 1.1 source:

View 2 Replies

ActionScript 2.0 :: Keeping VCam From Effecting Objects?

May 12, 2007

I'm using a vCam to zoom in and out in my game, but I need a HUD system to stay at the right _xscale and position. How can I do this?

View 1 Replies

ActionScript 2.0 :: Attaching Dynamic Text To VCam?

Dec 1, 2010

Here is the scenario. I have a AS2 flash game in the works. I have a vcam set up to follow the main character. It all works wonderfully. I have also attached a health bar movie clip to the vCam like so:

onClipEvent (enterFrame) {
this._x = _root.char._x-200;
this._y = _root.char._y-210;
}

Basically I just attached it to the main character and it works in the Vcam nicely. It just stays on top left of screen. I would also like to attach 2 dynamic text fields to the vcam-character as well so the screen has a little hud. (you know, health bar, name, and health points on main screen no matter where character and vcam move. I can't add the same script from the health bar to the dynamic text because they are not movie clips, they are dynamic text which do not allow actionscript inside. So basically, I'm wondering how I can attach the dynamic text to the vcam? Can I do it in the main timeline and if I can how would I write it?

View 1 Replies

ActionScript 3.0 :: VCAM - Fireball's Position Keep Changing

Feb 11, 2011

i added a vcam in my game but it messes up the x and y position of my moveclips, when i pressed space to shoot fireball, the fireball's position keep changing. Everything is working right before adding the vcam. Does anyone have a solution to this or why does vcam cause this to happen?

View 2 Replies

Export Image Sequence With Movie Clips / Vcam

Nov 10, 2010

it seems the only way to export with actionscript animation intact is to export as a Quicktime file, I decided to try something and it worked. I made the frames-per-second go from 30 down to 1. It took a looong time to export at 1fps but once it did, I loaded it into Premiere and adjusted the Speed/Duration, putting the speed at 3000 (30*100) and it looks very smooth. Not the neatest way to do things but it works, so I'm happyI guess the proper terminology for what I am looking for is to export as a PNG sequence with actionscript animation.In Flash CS5 after attempting to export to a Quicktime .mov file and it turning out extremely choppy no matter what (I tried things from here and here) until somewhere I found someone saying they always export as an image sequence.I could export as an image sequence so there would be no choppiness, then just import it into a video editing software.

That was until I noticed that the vcam I am using wasn't working in the finished product. The movie clips wouldn't animate, it would just be stuck on the first frame. Masks were also not working correctly (although this may not be an issue if I just lock the layers before exporting, not sure). So basically, I can't export in Quicktime - which does export with vcam, masks, and motion clips - because it's too slow and choppy, and I can't export as an image sequence (even though it wouldn't be choppy) because it doesn't export with all the things mentioned.So what do I do now? How can I export this with movie clips, vcam, etc. without it being slow and choppy!? Can I get vcam, movie clips, and masks to export in an image sequence?

View 1 Replies

ActionScript 3.0 :: Move VCam From Branheisey To A Custom Classes?

May 5, 2010

i'm trying to move vCam from branheisey to a custom classes and i get this error, how to solve it?

ActionScript Code:
package {
import flash.display.*;
import flash.events.*;

[Code].....

View 0 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 :: Not Panning As Planned

May 5, 2009

I built a website, and used flash buttons. The actionscript I have works great on them (AS3) using CS4 adobe suite, however, each of the buttons loads the page in a separate browser tab. Any clue how to fix it? Below is a copy of my AS3, and the buttons are as follows

[Code]...

View 2 Replies

IDE :: Make An Interactive Panning?

May 7, 2009

im trying to make a interactive panning with the tutorial Interactive Image Panning, Page 1 but this swf loads in a main swf.. the code i am using for the panning swf is

this.onMouseMove = function() {
constrainedMove(bg_mc, 8, 8);
};

[Code].....

the problem im having is that the panning swf is using the with of the main swf that is holding it

View 4 Replies

ActionScript 3.0 :: Can't Get Panning To Work

Jul 10, 2009

I'm creating a little game right now, and so far I've got zooming on to the mouse position to work. However, I can't get panning to work. The only movie clip I have so far has the instance name of picnic.

View 8 Replies

IDE :: Disable Image Panning?

Aug 27, 2009

this tutorial. [URL]How can i disable this image panning?I'm trying to disable it, when i pressed some button..

View 3 Replies

IDE :: Panning Timeline With Slider?

Dec 30, 2009

I am creating a timeline for a website and there is a slider located at the top of the page where the years are defined on a line. The slider should be able to be moved by the clicking on it with the mouse and dragging it thus moving the timeline information directly below it from right to leftIf ANYONE knows any codeing or how to accomplis this in Flash CS3 actionscript2; If I am able to log onto my tempsite soon... I will upload what I have so far and post it in a reply thread. I have created the pieces of this puzzle in flash just as a motion tween to show the concept that I am trying to create. When the slider moves right to a greater year, the timeline image pans left. Vice versa

View 1 Replies

ActionScript 3.0 :: Create A Panning Website?

Aug 30, 2010

[URL]...The link above is similar idea of what website i wanna built.any this kind of tutorial making the panning effect?

View 2 Replies

ActionScript 3.0 :: Zooming And Panning An Image?

Sep 30, 2008

I have loaded an image from a particular site using loader..and added this loader in a Movieclip.. I want to zoom and pan theimage.. How to zoom particular area of a movieclip?

View 6 Replies

ActionScript 3.0 :: FullScreen With Panning Efects?

Nov 27, 2009

I want to have an fullscreen swf loaded inside another swf wich is embeded in the html pageSince it is fullsreen, no browser scrollbars will apear, but the content of my swf will be dinamic, so it is possible that the height of swf is bigger than browser window.

View 4 Replies







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