CS3 Click Zoom Drag Pan?

Apr 7, 2010

am hoping someone here might have some source in the little bag o' trix that will put me on the right road to achieving the following. i am trying to work out the best way of creating a movie that has buttons that when clicked will zoom into and centre a certain area of a larger movieclip?

and then a way of dragging the zoomed into movieclip around the stage area? or panning using x/y positions of the mouse. (and without asking for the moon on a stick - if the user clicks on a empty part of the zoomed mc - it zooms back out to it's original size position?)

any have any fla files or know of any good tut's or threads that can will give me a leg up to get it working? fingers crossed has done this before or know a good place to start?

View 2 Replies


Similar Posts:


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 :: 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 3.0 :: Drag And Drop - Click On The Image ,one Can Hold Down The Mouse And Drag A Copy?

Nov 13, 2010

I want to have an image and when I click on the image ,one can hold down the mouse and drag a copy to where ever on the stage and when one lets go, one can drag another and another with each copy still being able to be dragged after released.this is what i have but its pretty simple and doesn't work....

stage.addEventListener(MouseEvent.MOUSE_DOWN,makeA Box);
var i:Number = 1; //i will be the total number of boxes
var newBox:myMC = new myMC();[code]....

View 3 Replies

ActionScript 2.0 :: Zoom In/out And Drag?

Mar 17, 2011

I am litteraly going crazy because ive tried all the codings ive been able to find on the web and nothing works.

what I need is to make something similar to google maps: [URL]

my map is pretty big, and what I want is to be able to drag around the plane and zoom in and out.

View 1 Replies

Flipping SWF With Zoom And Drag

Jan 16, 2009

Actually, I'm struggling with a flipping swf. I did lots of research, and know about flash component. Now I can make a simple swf flipping book like this. [URL]. However, I wanna add more functions in it. Like this. [URL]. This example is a html..contains css, javascript..etc...
just wanna know, is it possible to do the same thing in swf version?

That means..I want to make a flipping swf that i can:
- flip like a digital magazine
- double click to zoom in/out and drag
- also have buttons to control

View 2 Replies

ActionScript 2.0 :: Zoom And Drag Map

Mar 7, 2007

I have made a map that zooms and drags but I need it to change between zooming and draging when I click on different movie clips. I was thinking it was best to use an action listener but I wasnt able to incoperate it into this project.[code]

View 1 Replies

IDE :: Flipping Swf With Zoom & Drag?

Jan 15, 2009

i'm struggling with a flipping swf. i did lots of research, and know about flash component. now i can make a simple swf flipping book like this.. [URL]

however, i wanna add more functions in it. like this.. [URL] this example is a html..contains css, javascript..etc... just wanna know, is it possible to do the same thing in swf version?

that means..i want to make a flipping swf that i can:

- flip like a digital magazine
- double click to zoom in/out and drag
- also have buttons to control

View 3 Replies

ActionScript 1/2 :: Zoom And Drag A Movieclip?

Feb 2, 2011

anyone know a decent tutorial that will show me how to zoom a movieclip with a slider bar and or buttons etc and then click and drag the image around.

View 5 Replies

IDE :: Horizontal Drag Scroller With Zoom

Jun 19, 2009

I've been putting this together and ran into a wall. I'd like to have this drag scroller drag left and right. I'd also like to have it zoom in/out according to where the mouse has been clicked. i.e. zoom to the mouse when clicked. I would also like to be able to scroll left/right while it's zoomed in or out. As a bonus, it would be nice to get the original blur working as well, but thats just an extra

The code is below...It's based on blur scrollbar
Code:
#include "mc_tween2.as"
hand.onEnterFrame = function() {
this._x = _xmouse;
this._y = _ymouse;
[Code] .....

View 2 Replies

ActionScript 3.0 :: Drag / Drop And Zoom The Thing

Jan 27, 2010

I'm new to the forum, and to flash. I'm trying to create a photogallery in flash, with buttons. I already got the button part ready, but I'd like to add a drag and drop, and a zoom in /zoom out button out option. The problem is, I can get the zooming thing, and the drag and drop thing in AS2, but not in AS3! I'll link the script I used for the button here, as well as a screenshot of my timeline.

[Code]...

View 0 Replies

ActionScript 2.0 :: [FLASH 8] Drag Zoom Mask?

Jun 13, 2007

i have an image (possibly that has an animation), that i want to zoom when i roll my magnifying glass over it. i want it when you click on the handle to pick it up and move it and when you let go it lets go of it.

View 1 Replies

Professional :: Cannot Drag MovieClip After Zoom In (Flash Player)

Jul 25, 2010

I have a flash file, where I want to use default zoom function from Flash menu in swf player. Clicking "Zoom In", zooms into the swf file. Then when I try to use drag from mouse to change visible area, it does not work on moviclips. If I click on top of blank area, I can drag. Though this works fine in Flash as2 file.

View 5 Replies

ActionScript 3.0 :: Zoom Into Image On Click?

Oct 27, 2011

I have an image which I have converted to a movieclip.  I have added a click event to it, and when clicked, I am trying to zoom into the image at the point it was clicked.  I have tried following some code but ended up in a mess.

var scaleFactor:Number = 0.8;
var minScale:Number = 0.25;
var maxScale:Number = 2.0;
men.addEventListener(MouseEvent.CLICK, menOver);

[Code]....

At the moment, it doesnt zoom in automatically (have to keep clicking).  Also, it currently zooms out. 
 
Really, the effect I am after is like a camera pan and zoom.

View 2 Replies

ActionScript 2.0 :: Disable Right Click Menu Except Zoom?

Jul 25, 2010

So I wanna to disable the Right Click menu except the Zoom In, Zoom Out, and Show All.

View 4 Replies

Actionscript 3.0 :: Click And Zoom 3D Carousel Customization?

Jan 17, 2009

It works OK, but I have some small problems. I've modified it so I can move it with mouse scroll. But it registers scroll only after I click somewhere on stage.Also, I would like to add text field to every image, and read it's text from XML.

Here is the code:
Code: Select allpackage
{

[code].....

View 1 Replies

Actionscript 3.0 :: Zoom A Movieclip To A Click Place?

Aug 2, 2009

I wish make a zoom with tweenlite library on a movieclip. But I wish zoom on a focus where the user click.

The user step are like this:

step1: the user go on a place over the pictures

step2: click

step3: zoom to the click place

How I can do it in AS 3.0?

View 2 Replies

ActionScript 3.0 :: Zoom A Movieclip On A Click Mouse Place?

Aug 2, 2009

I wish make a zoom with tweenlite library on a movieclip.But I wish zoom on a focus where the user click.The user step are like this:step1: the user go on a place over the picturesstep2: clickstep3: zoom to the click placeHow I can do it in AS 3.0?

View 1 Replies

Actionscript 3.0 :: Click And Zoom 3D Carousel - Rotation Modification

Jun 22, 2009

I was working with the sample code from the Click and Zoom 3D Carouse tutorial and was wondering if anybody figured out a way to have full rotation?

When the demo tutorial files first load the first image is the energy drink. The last is the cat. When you click on the cat first, the carousel, rotates all the way around to it rather than just one slot back. Similary, when at the cat (the last image) and clicking on the energy drink (the first), it rotates all the way around back rather than just one slot forward.

How do you make it rotate seamlessly both ways?

View 1 Replies

ActionScript 2.0 :: Zoom Out And Every Thing Has To Be Like The Beginning When Click On The Button Once

Mar 29, 2009

I have a movie clip(a large image that has the same size as the stage) and a button in a square that is small (150x150) . The zoom has to be like this: I click on the button once and I have to zoom in (only once) exactly where the square is (in the center of it). When I click the zoom button again I have to zoom out and every thing has to be like like the beginning. This is the code I have:

[Code]...

View 6 Replies

ActionScript 3.0 :: Modifying Click And Zoom 3D Carousel - Make It Rotate

Jul 29, 2009

I trying to make a modification to Lee Brimelow's "Click and Zoom 3D Carousel". What I want to do is make it rotate about every three seconds to the next image (without any mouse interaction). I tried using the timer but didn't really get all that close.

Here is Lee's original code:
Code:
package {
import com.gskinner.motion.GTween;
import com.leebrimelow.utils.Math2;
import com.theflashblog.fp10.SimpleZSorter;
import fl.motion.easing.Exponential;
import flash.display.Loader;
[Code] .....

View 8 Replies

Actionscript 3 :: Set Zoom On Mouse Click Target To Center Of Stage?

Aug 24, 2011

I'm having toruble with an image that I zoom into in flash. I got everything to work, only I want the clicked X and Y coordinats to center to the stage. ( so that the area clicked on always zooms in and position the area clicked to the middle of the stage) the image is a movieclip and it zooms with a tween, but i tried everything but the image wont center the stage..

does anyone have a clue for wich actionscript 3 code I can use to do this?

my code is:

const TWEEN_IN:String = "tweenIn";
const TWEEN_OUT:String = "tweenOut";
var tweenDirection:String;

[Code]....

View 1 Replies

As3 - Make Click And Drag Two Different Things?

Oct 7, 2010

I'd love to know how to make click and drag two different things. As it believes the drag function is also a click. Also I'd love to know how to set it so that ALL movieclips stop when they reach say -10px from each side?

View 2 Replies

ActionScript 3.0 :: Click On Stage And Drag?

Aug 24, 2009

I have a movieClip on stage.I wanted to make it so that you can click on stage and drag and if you drag up and right value increases and if you drag down and right value decreases.So that I can resize the movieclip (scaleX & scaleY) based on that dragging.

View 2 Replies

Actionscript 3.0 :: Click And Drag Those Boxes Above Or Below Each Other?

Feb 11, 2011

I have the following code, which works beautifully when all the boxes are the same height. The basic point is that I have three boxes on the stage, 10 pixels apart. If you click and drag those boxes above or below each other, they reorganize themselves. Code: Select all// based off Dynamic Stacking AS3 @ [URL]

[Code]....

View 1 Replies

ActionScript 2.0 :: Double Click And Drag?

Apr 1, 2006

I have an object that I drag on the page. The same object I would like to double click to play sound file and load movie.

View 1 Replies

ActionScript 2.0 :: Different Actions For Click And Drag?

Jun 16, 2009

How can I set different actions for click and drag or just click? For example I have a map with clickable objects. When clicked on object some action happens, but when a user clicks and drags the panning starts not the click action of object.

View 7 Replies

ActionScript 3.0 :: Differentiate Between A Click And A Drag?

Jun 2, 2010

I have created the attached FLA file as a horizontal draggable menu in AS3.At the moment i am having a couple of issues with it.

1) I am using MouseEvent.MOUSE_DOWN and MouseEvent.MOUSE_UP eventlisteners to control the dragging.

The problem is that I click down the mouse button on the movieclip, it will start dragging. All good. However if I then, after dragging it about, let go of the button it registers a click. Obviously i don't want it to do that, I understand that it is registering a click because a click effectively consists of a MOUSE_DOWN and MOUSE_UP. Is it something i am doing wrong with the dragging? I am not sure how to differentiate between a click and a drag?

2) I would quite like the stopDrag to have an easeout on it, instead of stopping dead. (Take a look at newcruelty.com for the effect i am after) is this possible, perhaps using Tweenlite or Tweenmax? I have attached the CS4 FLA file (it uses tweenlite)

View 7 Replies

ActionScript 2.0 :: Make Pop-up Window While I Click "zoom-in" Button?

Aug 7, 2007

I try to make pop-up window for zoom-in images. Is there ActionScript to make pop-up window while I click "zoom-in" button?

View 4 Replies

ActionScript 3.0 :: Click-and-drag Rotating Images?

Nov 11, 2009

I built one of those click-and-drag rotating images. basically you click on it and drag left to right and it will scroll through a series of images in the timeline to make it appear like the object in the images is rotating he problem is I want to be able to click-and-drag the mouse up-and-down, AND left-and-right. Right now I can program it to do one or the other, but not both. if i put left,right,up,AND down in the code it ignores one or the other.

Code:
photos.stop();
var startX:Number;

[code]........

View 8 Replies







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