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


Similar Posts:


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 2.0 :: Drag And Drop Mask - Mc Drag In The Same Time

Jan 31, 2011

Wen i drag mc2 i want mc1 drag in the same time.

View 1 Replies

ActionScript 2.0 :: Dragable Zoom Mask?

Jun 9, 2011

Ive seen this alot of times.Can anyone point me in the direction of a good tutorial?(i don't care if it involves a game or whatever i just need one)

View 4 Replies

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

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 :: Drag Behind A Mask?

Jul 19, 2005

I have a working draggable movieclip called "copy" which is inside another movieclip called "copymask". The "copymask" movieclip contains a mask so to only make part of "copy" clip's content viewable.

The drag (onpress) and drop (onrelease) commands work as long as the cursor is within the masked space. But if the user drags and releases the "copy" clip beyond the masked space, the clip sticks to the cursor.

I would like the "copy" clip to stop dragging onRelease at any moment, masked and in the unmasked area. Is there a way to do this?

View 3 Replies

ActionScript 2.0 :: Drag Thumbnails Out Of Mask?

Apr 18, 2009

I have a gallery connected to xml.now i got the gallery from the tutorials so the gallery is now up woth the thumbnails and when i click on the thumbnails the larger pics appear.now my problem is how can i drag a speciofic thumbnail of the mask and drop it in the middle of the stage.i tried to use setMask(bull)but the thumbnail is still only visible under the mask...

View 2 Replies

ActionScript 2.0 :: Drag Duplicated MC Outside A Mask?

Jan 18, 2003

I have a MC inside a Masked area, when i click it i want to duplicate it and drag it out side the mask!My code works exept the MC is still inside the masked area!!Heres a bonus question: Why cant i remove the MC with removeMovieClip.. the duplicated-MC is inside another MC.

View 4 Replies

Actionscript 3 :: Drag And Drop Display Objects With Mask And Filter?

Jun 13, 2010

i've created a sprite to drag and drop around the stage. the sprite is masked and has it's mask as it's child so that it too will drag along with the sprite. everything works fine until i add a drop shadow filter to the sprite. when the drop shadow is added, i can only mousedown to drag and mouseup to drop the sprite if the mouse events occur within the original location of the sprite when it was added to the stage.

var thumbMask:Sprite = new Sprite();
thumbMask.graphics.beginFill(0, 1);
thumbMask.graphics.drawRoundRect(0, 0, 100, 75, 25, 25);

[Code]....

View 1 Replies

ActionScript 3.0 :: Volume Slider - Mouse Drag Without Taking Precedence Over The Mask And Disabling That

May 4, 2011

I created a graphic to simulate a volume slider. Its working, but i want a movieclip graphic (vol_switch) to follow the mask. It is only following it after i release the mouse. i cannot figure out how to have it follow on the mouse drag without taking precedence over the mask and disabling that. I tried the code in bold, but not working.

[Code]...

View 3 Replies

ActionScript 2.0 :: Scriptable Mask - Large Mask Behind The Whole Of Flash Site?

Aug 19, 2003

what i am doing is to make something along the lines of the "scriptable mask" tutorial Inigo was kind enough to put up.My idea is to have a large mask behind the whole of my flash site, this masks a colour image with a black & white one (nothing tricky). The image I am using is actually 5 separate images combined, and each is a pic of certain parts of the site.I also have a very basic set of buttons along the bottom... each corresponding to each section.

All I want is to set it up so that when I mouse over the buttons, the _x of the mask moves to correspond with the correct image... really very basic... or so I thought .If anything it should be easier to do than what is in Inigo's tut (where he uses the _x of the mouse to move the mask)... i just cant seem to get it to work with a nice easing effect (its easy to get the mask to simply snap to each coordinate, but I need it to smoothly move).

View 4 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 :: Drag And Drop - Droptarget - Make Flash Drag A Ball Onpress

May 11, 2005

i want to make flash drag a ball onpress and if its onrelease and if its on the Suquare movieclip it should stop draggin. my code is like this

[Code]...

View 2 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 3.0 :: Alpha Mask - Area Of The Loader Outside Of The Mask Will Visible When The Mouse Is Down

Sep 10, 2010

I have a startDrag function set up on a loader and mask that when the mouse is down on the loader it drags, when not it doesn't. There is also 2 buttons that control whether mask1 or mask2 is used. What i would like however is when the mouse is down - the area of the loader outside of the mask is visible but only by about 10/20% alpha, that way the user can see where all the image is while dragging. Is this possible? Full code can be seen below and i have attached the zip with the .fla file:

[Code]...

View 2 Replies







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