Selection And "Zooming" Help Please
Hello,
I trying to create something in flash for work that can zoom in on a picture with, plus and minus button, along with being able to zoom in on a selection that is drawn by the user. I have gotten the buttons to work along with the ability for the user to draw out a rectanglular selection. I've attached the file of what I have so far.
Can someone please, please, please help me with getting it so that it zooms in within the selection the user makes. It'll be deeply apprieciated.
Thanks
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-20-2006, 08:54 PM
View Complete Forum Thread with Replies
Sponsored Links:
Zooming In On An Image With Action Script Without Zooming The Entire Frame In
How do I zoom in on "1" image so its like 2x or 3x the normal size, but its only in that frame, like the entire stage wont zoom in, just that image will, and it will stay in a 546 * 281 format ?
Is this understandable?
Another example would be
(My image size is 546 * 281)
You click a button, it zooms in on the image, however everything else on the main frame does not move, just the image zooms in (still staying the same size)
View Replies !
View Related
Sequential Selection Vs Random Button Selection
I am missing something here. I have several buttons associated with several movies. When the buttons are selected in sequential order they play the appropriate movies
When the buttons are selected out of order (in random fashion) the selected movie does not play.
Any solution is appreciated
Code snippet follows:
//When button1 is selected bluemovie plays and then when button2 is selected pinkmovie plays
// However if button2 is selected before button1 pinkmovie does not play.
button1.addEventListener(MouseEvent.MOUSE_DOWN,sta rtClip1);
function startClip1(event:MouseEvent):void{
bluemovie.play();
button2.addEventListener(MouseEvent.MOUSE_DOWN,sta rtClip2);
function startClip2(event:MouseEvent):void{
pinkmovie.play();
}
}
View Replies !
View Related
Selection.setFocus Selection.getFocus Inputting From Mc
i am attaching a number of _mc (my_mc) with a for loop. Inside each my_mc is an input textfield (my_txt)
I want to click on my_mc.my_txt and select the textfield .the following code allow this and i can enter text from the keyboard however I want to add text from a _mc keybooard on screen (here called myBtn_mc).
As soon as I click on myBtn_mc of course I lose focus ... i have tried to use a variable (select) to keep scope&focus ... I keep focus but can not add text via screen _mc
many thanks Neil
View Replies !
View Related
Selection.setSelection || Selection.setFocus Help?
I have text fields I want to run with a tab key in a certian order, and miss one that it seems to go to automatically.
Does anyone know how I can do this with selection.setFocus and Selection.setSelection?
heres the order and what I want it to do,
0 username (if the username has it in there already then go to password instead)
1 password (if the password is there already then go to topic instead)
2 topic (selection.setFocus to topic if the the other two are filled already, then the next selection I want it to go to message after topic)
3 message
If anyone can help me out with this I would appreciate it.
Thanks in advance
Deadsam
View Replies !
View Related
Zooming In
I am trying to create a program that will allow me to zoom in on a diagram. I'd like to be able determine the location of the zoomed in area by where I click. Right now I'm adjusting the _height and _width of the movie but it's heading to the upper left hand corner. I'm putting this on an iPAQ and therefore I can't use the right click methods. What can I do?
View Replies !
View Related
Zooming
Ok i need some guidance please. I have a flash movie with 8 buttons and and an object ( lets call it a square) What i want to do is when the user clicks on a button i want the square to be zoomed in and stop so some content will be displayed. When the user clicks another button i need it to unzoom and rezoom to a different part of the square. What i cant get figure out is
1. After the first button is clicked it will zoom in, BUT how do i tell it to unzoom then resume to another part? Since each button zooms in to a differnt part of the square the unzoom will just be reverse of the zoom tween. So there are 8 different zooms and unzooms.
Im not sure if i made my problem cleared. Can anyone help?
Scott
View Replies !
View Related
Zooming
I have a problem: I want to zoom in and out a map with flash. How can i do this. I have done it with _xscale and _yscale but it does not work correctly. Can Anybody help me?
View Replies !
View Related
Zooming In......
What I am trying to do is a Christmas Card for my company. I have a snowman that comes onto the stage and I want to zoom in on his face and get rid of the some of the background. I was wondering if there is a way that I can zoom in on part of the stage and keep it part of my movie?
When I try and create a new image that makes a close up on the snowman's face, it kills the clarity of the image and would be a lot of work.
Any suggestions?
View Replies !
View Related
Zooming...
I'm sure most people have seen Flash movies with zooming.... example, an object gets bigger than returns to its original size....
Does anyone know how to do that....
View Replies !
View Related
Zooming
Hi all,
I'd like to zoom into an image which has many different layers, some starting in different places.
I'm using the scale tool to give the impression of zooming, however, I can't seem to get all the layers to scale at the same time. I've tried using 'select all' and multi frame editing, neither seems to work. How can I zoom in and then later on Pan around the image?
Thx in advance..
Matthew
View Replies !
View Related
Zooming In/out
Hi...to start things off, not only am I a Flash newbie, but also a forum newbie. Yep, I've never posted anything on a forum before...but I figured I'd give it a shake. I'm trying to create a movie in which the camera effect zoom is crucial...the most important instance of this is a scene in which an all-black background zooms out and actually becomes the eye of a stick figure. I can't find a tutorial on how to achieve this zoom-y effect, but I'd be much obliged to anyone who can give me any tips. Thanks ever so much.
-Alex Flash 5
View Replies !
View Related
Zooming
I noticed you can zoom in on the menu in flash... is there a way to access this thru Action Script?
the only other way I can think of implimenting zooming in my movie is to scale the movie clips (which I don't wanna do as this means LOTS more as for lots of other movie clips!)
I have a map movie clip, on that map I have duplicate movie clip pointers. If I were to scale the map the pointers need to stay in thier relative positions on the map movie clip.
Any one played with zooming?
Please help me obi-wan you are my only hope...
thanx Spyder
View Replies !
View Related
Zooming
I've noticed that some people zoom into certain objects in their movies, and I was wondering whether there was a way to zoom in like this or are they just enlargening the object to make it look like its beeing zoomed in to?
View Replies !
View Related
Zooming
I will let you know when it is up and running! It might take me a while to figure it out!!!
I may have some more questions for you if that's OK.
Thanks!!!!!
jenzee
View Replies !
View Related
Zooming In And Out
this is probably a beginner question but I have been unable in finding the answer so I was wondering if yall could help...
I am trying to make a movie where I am zoomed in on my subject and then zoom out to reveal the scenery ........how is this accomplished?
View Replies !
View Related
Zooming ?
what is the best way to zoom in /out the entire main stage?
i mean centered zoom in/out
i need a button that zoom in everything there is on the stage on press and zoom back out on release
can anybody help ??
thanks
ps i post this on the game forum too
i dont know if this is all right if double posting on 2 different forums is wrong please let me know
thanks
View Replies !
View Related
How Is This Done - Zooming Etc
Does anyone know how this site intro for the movie "The Hours" was made? www.thehoursmovie.com
It gives the appearance of a video, it zooms, fades to give the impression of motion. How do they do the zooming to closeup of the images? I really like the effect.
If anyone could help/advise - it would be great! I've searched the tutorials but can't find one that shows how to do this.
Thank you.
View Replies !
View Related
Zooming
I am creating an interactive map in flash. I want to be able to zoom in, zoom out and basicly be able to have a user comfortably browse the map. The map is no larger than 4 total 600X800 screens if even that. What are some ideas for implememnting these controls? I have never done something like this but have a decent understanding of flash. I use Flash 5.
View Replies !
View Related
Zooming In
Well im in the process of making an awesome movie, but i have come to a halt for one reason, i'm not sure how to zoom in properly.
I no it should be just an easy thing like tweening the image to a larger size or somethin but heres my problem.
I have 4 layers in the scene, one is background, 2 are props and one is my person.
No im wanting to zoom in on my guys face so he can say something, so is there a way to enlarge all the layers at the same time to the same size
View Replies !
View Related
Zooming In, Out And Pan
can anyone please help coz ive been trying to figure out how to zoom in, out and pan on an object. visit this site so u could see what am trying to do http://www.customatix.com/static/cat...orfn_home.html
am trying to make something thats similar to this.
View Replies !
View Related
Zooming...
Is it possible to zoom to a certain position in the movie, i have a larger image and i want to be zoomed into the logo on it to make it look like its just the logo, then when its loaded(i can do that) make it go to 100% to show that the logo is part of something bigger. Possible?
View Replies !
View Related
Zooming In
I created a button, and what I want to do is to have the clip automatically zoom in on that button without prompting the user to move the mouse or click, I just don't know how to do it.
The closest I have come so far is this
zoom.onRollover = function() {
zoom._xscale+=10;
zoom._yscale+=10;
};
Can anyone help?
View Replies !
View Related
Zooming
Hi, I'm new to flash and I was wondering if someone could teach me how to zoom in on a scene, I can't seem to find a crop feature, and I was wondering if there was some sort of action script or some button that allows you to zoom in on a scene. Thanks for the help.
View Replies !
View Related
Zooming In
(Using Flash MX 2004)
I know when a .swf is viewed on a web page if you right click on that you have the option to zoom. Is it possible to tie this zoom feature into an actionscript command? I want the movie to zoom in when the user presses the up arrow on the keyboard.
View Replies !
View Related
Zooming In?
I'm starting a new project thats sort of a visual representation of the last few years of my life. During the preloader, a house is shown in the background. As soon as the play button is pressed, the scene of the house will first pan down to center a window, and it will then zoom in on the window and fade to black, and a scene inside that room will begin. Can anyone tell me how to make the camera zoom? And while we're on the subject, can anyone tell me how to make it fade to black? I think you make a tween and make the frame at the end of the tween just all black, but I'm not sure.
View Replies !
View Related
Zooming
I have a vector image with multiple hotspot to which i want to zoom to when they are clicked. I don't want to do it with tweening. Actionscripting is ok but how do i get it do zoom to a specific part of the image and back out to full size? Do I have to change the registration point somehow?
Any help gratefully apreciated.
View Replies !
View Related
Zooming
Hello, im having troubles trying to think of a way to zoom into a certain area of the movie.
What i want to do is figure out a way how i can have the main movie (_root) zoom into something, like for a example, zoom into a character in an animation and show him more close up. But with no clicking attached, it does it when it hits a certain frame.
Can you guys help me find out everyway to do this, wether its action scripting or other thanks..
Also I have an example of what i mean here..
What it is, is a background with a flyer on it beside the door, can someone edit it and zoom onto that flyer? Thanks I will appreciate it.
-Electro
View Replies !
View Related
Zooming Map
i have sheached the boards and tutorials on this and can't find any thing like what i want. what i am trying to do is where ever the user clicks on the movie clip it will zoom in on that area and on the second click it will zoom out. i have got the zooming working and i have my area of interest centered in the screen but its just the getting the clip to ease between the zoom out pos and zoom in pos. i have have attach my fla so you can see where i am at
code:
onClipEvent (load) {
scale = 0;
lastScale = -1;
scaleSpeed = 10;
homeX = _x;
homeY = _y;
maxScale = 300;
}
onClipEvent (enterFrame) {
_parent.tellClipsToMove ();
//
if (scale) {
_xscale += (scale * scaleSpeed);
_yscale += (scale * scaleSpeed);
if (scale == 1) {
_x = homeX - (Click_x * (_xscale / 100)) + (Stage.width / 2);
_y = homeY - (Click_y * (_yscale / 100)) + (Stage.height / 2);
} else if (scale == -1) {
_x = homeX;
_y = homeY;
}
}
if (_xscale == 100 || _xscale == maxScale) {
scale = 0;
}
}
on (release) {
Click_x = _xmouse;
Click_y = _ymouse;
crosshair._x = _xmouse;
crosshair._y = _ymouse;
if (lastScale == -1) {
scale = 1;
lastScale = 1;
} else {
scale = -1;
lastScale = -1;
}
}
View Replies !
View Related
Zooming
Hey all Iv been trying to make a Flash Cartoon for a while and i have got stuck. The thing is i got this guy falling from the sky and i want to make it look as if he's moving realy fast but can't seem to get right i'v seen several movies were they use black lines wizzing past the guy to show he's moving fast but when i try to replecate it it looks crappy. Can anyone help?
Cheers for any help
View Replies !
View Related
Zooming In
If you have ever been here:
http://www.macromedia.com/cfusion/sh...2650&loc=en_us
then you've pretty much got an idea of what I want to do.
I'm making a square-tile perspective game, like Disgaea, Final Fantasy Tactics, etc. I want to allow the players to zoom into this world I've created via duplicating movie clips, etc. but I want it to center on whatever tile they are targeting.
So... how could I do that? Is it possible to address all movieclips that I've created so that I could just change everything's x and y to center on the targeted movieclip? If that were the case, then I would need to make everything exactly the size I want it to appear on people's screens...
Or is it possible to zoom in to the stage, and change the displayed area so that it show a magnified version of a section of the stage, centered on the tile they have selected. If that were the case, then I would populate the stage, with everything relative to each other, then I could zoom in and they'd appear nice, large, and fill the screen.
Either way, or neither way, help with this would be greatly appreciated.
View Replies !
View Related
Zooming Map?
I need to make a zooming map. I will take an aerial photo of a college campus, and as the person mouses over the photo and stays in one place, it zooms in on the area.
I don't know what FLA to use. Can someone please point me in the direction of one, like give keywords to put in the FLA finder, etc? thanks!
View Replies !
View Related
Hi-Res Zooming
I'm hoping this is a simple question, so here goes . . .
I have a hi-res aerial and would like to zoom in on a particular part of the aerial. Sounds simple, right? Well, when I zoom in the graphic loses it hi-res and everything gets pixelated. What am I not doing correctly?
I have tried doing a frame by frame with 12 different aerials and it's too choppy. Any suggestions?
HawksQuest
View Replies !
View Related
Zooming In?
I have noticed on several flash movies that the camera seems to zoom in on a animation. How is this done? Is it just a resizing tween? That seems to be close to impossible to do when your dealing with the background and other sprites as well
View Replies !
View Related
Zooming In And Out
(working with Flash MX 2004)
I'm working on an assignment for a class which is due on Friday.
We have to make a small flash presentation about an HB Pencil and I decided to take an image of my desk and have the different objects on it be small buttons which display information.
For example, I have a computer monitor which when clicked on, I want it to zoom in so the user can read a little information. Then I want to be able to zoom out while clicking an X at the bottom corner.
I figured out the code to zoom around the stage and it is as follows...
The PC (button)
code:
on (release){
desk.xFinal = 300;
desk.yFinal = 500;
desk.xScaleFinal = 200;
desk.yScaleFinal = 200;
btnX.xFinal = 300;
btnX.yFinal = 500;
btnX.xScaleFinal = 200;
btnX.yScaleFinal = 200;
}
So..the user clicks the PC, it zooms in on the desk to where the PC is..however the X which should move with the rest of the stage..stays where it is?
I dont get how it can move and zoom in on the desk, but not move the x
The desk is a big symbol, and the X is a symbol sitting on top of it. When this assignment is done, there will be a total of 3 x's
I have been told that it is a different code for the X symbol but I can't figure it out.
View Replies !
View Related
Zooming?
Hey, i want to zoom onto things on the stage (not regular zooming) How would I do this? The only thing i can think of is resizing the images and making them bigger but is there another way?
View Replies !
View Related
Zooming
Hi
I am creating a small mapping application which requires zooming functionality. I have created a zoombar which when moved up or down zooms in/out of a map. The problem is when I zoom in/out of the map it zooms to the centre of the map and not the area of the map which is currently in view.
Any ideas on how I can make it zoom into the area of the map which the user and view??
I have attached the swf which will probably help show the problem better then my explanation.
Many thanks
DV
View Replies !
View Related
[f8] Zooming In
Hey guys, well im creating this little abstract image, and its using shape tween, so its looking very abstract, lol. Basically i want to zoom in about half way INTO the image, and as the 'abstractness' is going on, i want to be moving in very slowley. but is the only way to just make the image bigger? there is no camera tool or anything right
View Replies !
View Related
Map Zooming
Hello! Nice to meet you all. I'm sorry for my bad english.
I'm doing a small work for a Swedish state webpage, who wants me to use flash to show where they are. First, a map of Sweden, and then a slow zoom into the state itself. The problem is, the zooming. Does anyone know a good actionscript, or tutiorial for this? The map will not be interactive, therefore, the zooming should happend by itself. I hope you understand what I'm trying to say here, and thanks in advice.
View Replies !
View Related
Zooming MC
Hope some one can help me on this !!
am looking for a bit of AS which goes on a MC
basically when u click it zooms in (tween not jump) and centers it to the stage or movieclip box (size of stage)
but then when it reaches the end of the zoom it then has a gotoframe() AS
one thing to remember is that this whole movie will be loaded in to another swf just things like _root etc thats why i think centering it to a MC box
so put ya thinking caps on! hope you can help...
cheers
View Replies !
View Related
Zooming In On A Map?
hello,
I have a map of the us, with button for certain cities on the map. I would like to when you rollover each city to zoom in and then display a little text box with info about the city? How would I accomplish this?
thanks
View Replies !
View Related
|