ActionScript 2.0 :: Zoom In Section Of Screen

Feb 23, 2009

Does anyone know a way in code to zoom in a section of the screen like looking through a scope?i want to add this to my game:URL...

View 1 Replies


Similar Posts:


IDE :: Zoom In And Out On A Section Of The Screen With A Button?

Aug 24, 2009

I made an animation and I would like to zoom in and out on a section of the screen with a button. Or a make a magnifying glass effect in a certen area. Is there a way I can do this with code or do I have to re-animate that part bigger?

View 1 Replies

ActionScript 2.0 :: Funkycode.de Screen Adjustment - Bottom Section

Mar 21, 2007

was looking at former sotw winners and i came across funkycode.de, which has the bottom section of its page adjust within flash depending on the browser, and not just the resolution. for eg; if you resize the window the bottom nav will just flow upward and follow (until you hit the 1024x768 boundary in which case the bottom doesnt exist anymore) speaking of which, dont you think it kind of sucks that sites have to be made in consideration for 1024 when you can do so much more with 1280

View 1 Replies

ActionScript 2.0 :: Play A Section On The Timeline And Then Move Onto Another Section Or Scene

Mar 9, 2009

I have a button that I would like to use with the basic actionscript as follows:

on (release) {
this.gotoAndPlay("15");
}

What I would like it to do is play a section on the timeline and then move onto another section or scene.

[Code]....

I know this is incorrect, so would anyone know how to write an actionscript button that plays a section then goes somewhere else?

View 4 Replies

ActionScript 2.0 :: Zoom From Middle Of Selected Screen?

Mar 2, 2010

I have a map that uses a control to zoom in on it, but when it zooms it always uses the registration point to scale the image(map). This registration point is always located at the center of the image(map). There are 4 stages of zoom and each one then re-zooms at the center of the image(map).

I need this to zoom relative to the center of the users viewport area.

I am not able to attach the file here due to it being over 500K, it is 1.54MB, so have uploaded the CS3/AS2 file here: [URL]

View 0 Replies

Javascript :: Simulate User Keypress To Zoom Screen?

Jul 18, 2011

Is there any way of simulating a keypress of Ctrl+'+' (to zoom in the page) without any user interference?

Is it possible to do it using Flash?

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 :: What Is The Word 'section' In _root.section

Dec 17, 2003

on [URL] what is the word 'section' in _root.section? I assume it is a movie clip instance, but can't seem to find it on the timeline.

View 2 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.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 2.0 :: Get A Section To Only Ever Run Once?

Feb 4, 2003

how can I get a section of action script to only ever run once?

I tried attacting it to a movie clip and using onClipEvent (load) but now it does not run it at all..

I've been working at this all day and only have one little component left of my project to complete but if I can not get it to stop redoing my initial script all the time, I can not get the last part done..

View 1 Replies

IDE :: Cut Out A Photo Section?

Apr 28, 2009

how to cut out a section of a photo use for flash?

For an example I am trying to build a script where a user can change the color of a roof of a house. So If I take a picture how do I trace it or draw it where I can then make copies of it in different colors for people to pick a color and then make an action where the roof will change to that selected color.

View 4 Replies

ActionScript 3.0 :: Use The Same XML File For Each Section

Jan 28, 2010

I have a function that loads and XML file. Which populates a scrollbar with images. I have three sections in my application Education, Hospital and Retail. The images being loaded differ in these 3 sections only by there placement. So for example, in education the image order is 1, 2, 3. For Hospital the image order needs to be 3,1,2 and of course Retail is say is 2,3,1. I might add that more then 20 images are being loaded and it is only the first 3 that need shuffled.

I want to use the same XML file for each section. Rather than duplicated the code 3 times and write 3 different XML files, can I move the images to the correct position say using a if statement like if(education == true); then image order = this; or if(hospital == true); then image order = this. Does that make sense? Is that even doable?

[Code]...

View 2 Replies

ActionScript 2.0 :: Different Transitions For Each Section?

Mar 8, 2006

I have a menu with 4 buttons, once clicked each button sends you to its corresponding section (frame label). Each section has a different loading animation. Once in a section I would like to go to another but before this that section's specific transition animation must play. Now I've looked around and all I can find is how to do this with a universal transition animation.

View 3 Replies

ActionScript 2.0 :: Print Section Of MC

Jul 14, 2008

Is there a way to print just a section of a MC?I have a print button with print a MC in the same swf.Can I add x,y or height and width coordinates to sent to the printer action?[code]

View 1 Replies

IDE :: Movie - Duplicating A Section

Mar 22, 2009

[URL] if you go into my movie section. i want to add movies to my section if i copy for exemple Audi commercial. i'll have 2 that's great when it'S time to change the name like Audi to Marli it will affect the first one, the original section that i copy too. that's my problem. how can i copy a section to be indivudual. without affecting the first one. cause after that i can go and change everything.

View 1 Replies

ActionScript 2.0 :: How To Have More Than One Main Section Come Up?

Apr 21, 2005

I'm familiar with flash and have used it quite alot... but just for animations and what not. I have never gotton into an understanding of Action Script too well. I want to use a XML based flash menu just like the found on this site here: URL...

-How do I have more than one Main section come up? I understand the basics of the xml part, but not in the AC.
- Also, how to place targets in the links

I would like to make this all horizontal and hopefully I'll be able to insert movieclips as the mouse on and off states.

View 14 Replies

Possible To Test Section Of Animation In Timeline?

Feb 22, 2010

Is it possible to test only a section of animation in a timeline? I'm trying to refine the last bit of animation at the end, and would prefer not to watch it all from the beginning again.

View 8 Replies







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