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


Similar Posts:


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 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 2.0 :: Control Zoom Slider, Remotely?

Jul 13, 2010

I have a zoom slider that works properly. Yahoo! Now I need to be able to control the slider from various buttons located on the stage. The zoom slider goes from 50% to 200%. When a button on the stage is clicked I need the slider to go to 100%. Here is some code...

Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);

[code].....

View 0 Replies

Actionscript 2.0 :: Can't Get Zoom Slider To Work With The Position Of The Slider

Mar 25, 2010

What I have is a map that you can click on points and it will zoom in, you can also click on a "plus/minus" buttons to zoom in and out (I even have the mouse wheel zooming in and out). The client wanted me to add a "zoom slider bar" to it so you know you could move it up and down to scale it. Everything is working except the slider, I can't seem to get it to work with the position of the slider. All of the zoom functionality is there but the slider is killing me.

I am putting up the fla file since there is a lot of code in there and I didn't want to put it all in the forum. if you look in the fla in frame ten on line 726 you can find the function that is supposed to handle the zooming when you move the slider. Up on line 74 you can find the slider onPress and onRelease functions, but those I believe should be fine.

View 2 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 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 2.0 :: Senocular Zoom Slider Tutorial

Jul 31, 2007

I hear that senocular has posted a zoom slider fla or tutorial but can not find it.

View 2 Replies

Actionscript 3 :: Flash Image Zoom With Slider/scrollbar?

May 30, 2011

I am trying to add a scrollbar, or prefrably a slider, that zooms in on the specified image when I drag the scrollbar right, and decreases the size when I drag the scrollbar to the left.

Here is my code thus far,

AS3:

mc_img.mask = mc_oval;
mc_img.buttonMode = true;

[Code].....

so basically I would like to be able to zoom mc_img with a slider or scrollbar

View 1 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 :: 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 1/2 :: Get Slider To Move When Click The Groove

Sep 7, 2009

TheI have created a simple Adobe Flash movie which is to act as a slider control. The code that I have written is shown below. I am able to grab the slider and move it to any position on the groove but I wish to also be able to click anywhere on the groove so that the slider will jump and lock to that position.I have created a function:groove_1.onMouseDown = function(){ trace('You clicked x = '  + this._x); slider_1._x = this._x;} the problem is that the this._X coordinate returns the left-hand edge of groove_1 and not be positioned that was clicked on this control. how to get this information out of the mouse down event?

[Code].....

View 4 Replies

Slider To Move Masked Image Horizontally?

Jul 26, 2007

I would like to have an image that is wider than the viewing area be viewed by dragging a slider left or right, it's basically just a custom scrollbar. My first inclination is to make a mask and put the image behind it, and then I assume I would have to connect the slider to the image somehow so when user clicks and drags slider left or right, the image slides with it to show the part so it that are obscured.

View 5 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 :: Using A Slider Bar To Dynamically Move An Image Horizontally?

Jun 16, 2008

how to using a slider bar to dynmicaly move an image horizontally like [URL].

View 1 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 :: Slider Bar Can't Move On Its Own After Scroll Over Couple Of Hover Buttons

Jul 19, 2011

[url]...

Any reason my slider bar would be moving on its own after you scroll over a couple of the hover buttons?

View 9 Replies

ActionScript 3.0 :: Page Marker/slider Moves Over But Won't Move With A Button Select?

Nov 20, 2010

The whole slider moves over to the left as soon as I mouse over any button I don't know why and it wont move when i click on a certain button?

[Code]...

View 30 Replies

ActionScript 2.0 :: Create A Slider That Will Move A Series Of Images In A Movie Clip?

Aug 10, 2005

I am trying to create a slider that will move a series of images in a movie clip based on the location of the slider. The problem I have is that when you click and drag the scroller it will move the images once but after that the images will not move. I am guessing that the problem is with my code. I want to move the _x of the images movie clip based on the _x of the slider. Here is the code I am using which is placed in frame one of the "timelineSlider" MC:

[Code]...

If it will help I can send the the original .FLA file by email as it is too large (225kb) to post on the forum.

View 3 Replies

ActionScript 2.0 :: Make The Slider To Move After A Movie Clip Symbols Instead Of Button Symbols?

Oct 29, 2008

I used this tut to create a menu. [URL] And my question is; Can I make the slider to move after a movie clip symbols instead of button symbols? That way my menu would be animated.

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

Flash - Create Image Slider Like Nivo Slider With Builder

Jan 10, 2012

I'd like to build image slider like Nivo slider with Adobe Flash Builder.

i'd like to have image controls, image titles displayed above the image(like layers in flash). i'd like to read the data from xml.

i'd like to have nice transitions between images.

mayebe u can provide tutorial or source code.

View 1 Replies

F4v Can't Play Remotely

Feb 16, 2011

I don't have a sking on my f4v file, it doesn't play in the server but it plays locally[code]....

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







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