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
Similar Posts:
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
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
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
Jul 28, 2011
Forgive if I am not explaining this very well- here goes. I have one major site with three other gallery sites that are related. From one of the gallery sites I need to create a button that takes you back to a specific page on the major site.
[Code]...
View 7 Replies
Jan 22, 2007
I apologize if this has been covered already, but I'm not sure where to start because I don't know the proper setup for this. I've been making Flash sites for a while and am pretty comfortable with it, including actionscripting, but I have a real estate client that wants to be able to update their site with new roperties themselves. Obviously a simple HTML page would be easiest, but I wanted to find out how this would be done in flash. Most of the examples I see are for linking to xml data tables and the like which doesn't seem to be exactly what I'm looking for. How would I go about making an "area" in flash in which they could load a new picture and a couple paragraphs? Would I have Flash look for a whole html page, or define a picture and paragraph objects that are individually replaced, protecting the formatting/design? Is this possible/a good way to go about it?
View 2 Replies
Jan 20, 2012
I am trying to set up my video site to stream from the fms server¯ and the instruction stated that I should create my own new folder in the application directory on the fms server, and I have created my directory, which I called brigma_streams¯, and I have copied files from {FMS-Install-Dir}/ sample/Application/vod to my new folder.
[Code]...
View 1 Replies
Dec 11, 2006
I know this is very noob, but I need a simple AS move and loop. Move an object across the stage and once out of site, loop and start over again? It needs to be a slow and endless loop.
View 3 Replies
Aug 12, 2011
I am trying to setup a movie where the user can move objects with the arrow keys. I have several objects that can be moved. My problem is that they all move at the same time. How can I fix it so you can click on an object and only that one object moves?
View 4 Replies
Jul 22, 2011
I have a Flash page that is a bit off center on smaller resolution screens. If the site was centered, and the sides were cut off, then all would be well. But the site starts in the top-left corner, so some content is clipped. I know the problem can be solved in JavaScript, but I'm wondering if there is a more elegant, possibly CSS-way,
View 2 Replies
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
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
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
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
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
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
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
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
Feb 22, 2011
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to
the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
View 3 Replies
May 8, 2006
I am getting there, but can't seem to get the zoom out working properly or the way they zoom in nicey as well.I have posted the .flas (mx 2004 & 8) below:[URL]If any one could have a look at it and maybe tell me whats wrong and how I would get the effect like the website above.
View 14 Replies
Dec 5, 2009
I create a flash site with a XML MENU. When I publish the site the xml menu doesn't move when you scale the browser window, but when I use swfobject the xml moves when you scale the browser (not centered).
View 11 Replies
Apr 29, 2010
when I first created my website I defined it in a random folder of my own choosing. Now, many months of construction later I want add some php related stuff and have to setup a proper local testing server.
I therefore have to move the whole thing to an htpdocs subfolder in MAMP - how can I do this so all links and filepaths etc are updated?
View 1 Replies
Sep 1, 2003
I've tried 3 different scripts for a random loading image layer and none of them work. Does anyone have code/script for this that will work for Flash 5? I'm totally hung up at this stage and can't move on with the page or site until I have this aspect resolved.
View 12 Replies
Feb 4, 2011
I'm wondering how I would go about making a Mouse Trace, on a line that's preset but my choosing to let people enter into my Flash and/or progress throughout it. Basically, I have a picture of say, the number 5, I want to be able to have people use the mouse cursor to trace the 5 from one end to the next, and once completed the sites move forward. Though, I will be using my company logo which is a bit more advanced than a single number or letter form. If no one is sure what I'm talking about I've added a picture to demonstrate what I'm trying to do. Another idea I have if this one can't be accomplished, is a slide bar.Basically, it would look like a timeline control in say, VLC, and I would have the user drag a button from one side to the next to unlock and move forward. Though that may seem a bit more simple that my main idea, I would also like to be able to get really advanced with this second function and make a series of slide bars, say, 3, and they have to be slid in a certain manner, like slide bar 1,3,2 then it unlocks and moves forward.
View 1 Replies
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
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
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
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
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
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