ActionScript 2.0 :: Zoom In/out From 3D In Flash Tutorial?
Oct 1, 2003
I was reading through the zoom in/out tutorial in the ActionScript > 3D in Flash tutorial, and I am having a little trouble figuring out where I should put the code, and actually see it work.I did the following. I only made one figure so far, because I was just doing a test:
1) I draw a simple shape on the stage, converted it into a movie clip, and named it figureA
2) I then double clicked on it, and in the first frame, right clicked > Actions, and wrote the following code:
origin = new Object();
origin.x = 150;
origin.y = 150;
[code]....
Insert a keyframe and make a motion tween? I am kinda lost in the difference between actionscript motion or using motion tween.
View 2 Replies
Similar Posts:
Aug 11, 2010
I have built a catalog in flash that was orginally built in InDesign and exported but it has some small content that is hard to read for the elderly users viewing it and I would like to add a zoom feature or some type of magnifying glass.
View 1 Replies
Oct 1, 2003
i am pretty new to Flash, and I have started going through alot of this tutorials on this site, and it is really great btw. Anyhow, I was reading through the zoom in/out tutorial in the ActionScript > 3D in Flash tutorial, and I am having a little trouble figuring out where I should put the code, and actually see it work.
I did the following. I only made one figure so far, because I was just doing a test:
1) I draw a simple shape on the stage, converted it into a movie clip, and named it figureA
2) I then double clicked on it, and in the first frame, right clicked > Actions, and wrote the following code:
[Code]...
My question is what am I suppose to do next? Insert a keyframe and make a motion tween? I am kinda lost in the difference between actionscript motion or using motion tween.
View 2 Replies
Jul 31, 2007
I hear that senocular has posted a zoom slider fla or tutorial but can not find it.
View 2 Replies
Mar 22, 2005
I sent an email to pom regarding a tutorial that he wrote, but the email was bounced and he hasn't replied to my PM. I have followed both of pom's tutorials that involve experiments with perspective in Flash, but I have encountered a problem while attempting to duplicate a movie clip symbol in the second tutorial ([URL]). I have a single instance of the "ball" movie clip symbol appearing at random positions. However, I cannot seem to successfully duplicate the symbol instance at random positions using the loop that pom provided:
[Code]....
View 10 Replies
Jul 27, 2005
I am looking for a tutorial called Senocular's 3D car race tutorial
View 1 Replies
Feb 28, 2006
original: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:
[Code]....
View 4 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 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
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
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
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
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
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
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
Jun 9, 2010
I want to buy Flash Builder Video Tutoria, Can any one tell me from where i can get it ?
View 4 Replies
Mar 7, 2011
I am a programmer with a relatively good background programming in ActionScript using Flash Builder. However, I have been handed a FLA file meant to be opened in Flash CS 4, and I have to add some code to it, but this is the first time I've ever used this software in my life.After I opened the file, I was greeted by a quite unhelpful interface (maybe it's friendly for artists?), and I immediately had questions such as:
-How can I edit the source code?
-How do I run the program?
-How is the source code organized?
-Where is the entry point of the program?
-How can I do source control of these files?
I've been looking at flash tutorials online, but every tutorial starts with drawing shapes, tweening, the timeline, etc. Honestly, I don't care about any of those things (they've already been done by people at the design team).I already know how to code in ActionScript, so what I need is a tutorial to give me a kickstart in coding -already designed- flash files using Flash (not Flash Builder).I have been fighting against flash cs4 all day and I am very very disappointed with it. I thought I was good with technology, but it has been a really long time since I last found a tool so difficult to use and understand.
View 4 Replies
Mar 12, 2009
I was wondering if there was a way to make the XML Flash Slideshow begin playing once it loads and to possibly have a pause feature. I saw this asked in another thread but there was no response to it.
View 1 Replies
Jul 8, 2009
How can you modify it so that the music DOES NOT start playing when it loads?[code]
View 1 Replies
Mar 7, 2006
i just followed the tut fmx2004 about the slideshow, it is very good! i just have one question : i would like the slideshow to be started by a click on a button (not run when loaded), and then run infinitly, how do I do that?
View 2 Replies
Sep 3, 2009
i am leaning Flash for about 3 weeks now, and i am quite good in that. I am AMAZED by all cool effects and trying to learn atleast 1 new every day. This tutorial, Coloring Book in Flash , is giving me headache for the last 2 hours. On the beggining of tut, it say to download and open souce FLA file- I saw that there is only drawing in start FLA file, so I make my own. Is that mistake, right at the beginning? If so, where I can find tut in the whole, so I can use my own images?
View 2 Replies
Aug 24, 2010
This thread is designed to help collect discussion on the Drawing Shapes in Flash tutorial.
View 1 Replies
Dec 22, 2004
Just got through with the "Displaying XML in Flash" tutorial and it was very easy. I took the XML document on the tutorial and created more childNodes within the parent node. The problem is that I cannot get the actionscript to display text in the text window beyond the first child node.I noticed in the [URL] that it tells how to get other data from the first child node but not the second.
XML:
<?xml version="1.0"?>
<flashcopy>
<intro>
[code]....
View 1 Replies
Mar 24, 2011
I'm creating an interactive flash tutorial for kids teaching them about healthy eating. Part of the tutorial involves them learning about different food groups, then playing different 'games' to test their knowledge.
I would like to incorporate a user login system, so the user logs in on the main menu, and then the system records which activities have been completed, and a score for each activity. This will update whenever they finish a game or achieve a score better than their previous attempts.
I found a gotoAndLearn.com tutorial but that was just retrieving stuff from a database and plugging it into an SWF. any suggestions / tutorials available on how I can achieve this 2 way interaction?
View 1 Replies
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
Jan 31, 2010
I am looking for the best registration/forms tutorial for Flash CS4. Is there a good one out there that would walk me through all the key steps for someone who is fairly new to flash? I have done some HTML forms work with php in the past but really like the look and flexibility of flash.
View 2 Replies