ActionScript 2.0 :: [FMX] Make A Movie Clip Zoom In And Out?
Dec 18, 2002can someone put some code together to let me be able to make a movie clip zoom in and out at random intervals
View 1 Repliescan someone put some code together to let me be able to make a movie clip zoom in and out at random intervals
View 1 RepliesI simply have a rectangle vector image of a landscape and I want it to zoom in when I play it...and I guess stop at a certain point. Not a clicking function or roll over, just when I start up my swf file or go to that specific scene I want it start zooming (gradually, not fast either)
View 6 Repliesi 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 Repliesi have a movie clip that i can zoom and pan, but i am trying to make a reset button that goes to my default position of the mc. I'm thinking about telling the button to place the mc at (0,0) cordinates and scale back to 100%. Am i on the right track? i am using vr. MX, 04.
View 4 Replieshow to zoom a movie clip like this: [URL]The Fist map on that page, you can zoom a particular region by draging a box around it.
View 3 RepliesI was wondering if anybody knew of any technique where i can zoom in and zoom out to certain parts of a movie clip? Im not talking about a map or image zoom component. What im trying to do is a website where you see the "big picture" and depending on which section you want to go to, the movie zooms in to part of the "big picture" and content will load.
View 5 RepliesI have a movie clip of all counties in the state of Montana (allcnt_mc). Within allcnt_mc there are individual movie clips specific to each county with name equal to the county's name. When clicking on a county, I'd like to zoom to that county and center the stage on it. I've added event listeners to all counties through querying an xml table that has demographic info I am calling into dynamic text boxes. Here is the code I have thus far to load the xml and add the listeners to the county movie clips.
//load xml
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
[Code]....
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 RepliesI'm in the process of making complicated multiplayer games and i want to make a 'zoom in-scroller' feature (simply to give the illusion of a bigger world where i can put more stuff in it). What I need is the equivilent of launching your .swf, right clicking on the stage, and "zoom in" (but obviously in actionscript code).
I've been searching online for the solution and all i can find is a bunch of noobs describing how to zoom in on a movieclip, but they arent really zooming at all, they're just blowing up and shrinking the individual movieclips.
The biggest problem with this of course is when i add objects to the stage, thier (x, y) spawn dosent scale with the stage.scaleX, so the placement spirals the game out of control.Anyways, my stage is a 1200x by 600y dimension; the stage has player movieclip (var player1) with assosiated move functions (W A S D controls). I need a zoomed in interface centered on the moving player (lets just say a 600x by 300y box). And finally this zoom-in should not affect anything going on in the original 1200x600 stage, such as spawn locations, collision detections and so on.
iam tring to make a new project , i just wants to know how to make a movie clip ( constant speed ) follows anther movie clip <--- "which can be moved by the user "
<<<>>>> i believe that this idea is good , that i records the X and Y postion of the User's movie clip and just make the other movie clip points at this postion and move toward it ,
how to make the other Movie clip (( which is a car ! .. so it have acceleration , speed , steering , etc )) go to this position or let us say try to??
I'm making a room escape game and I've run into a problem. When an item gets added to the inventory, I'd like the user to be able to click on the item to affect another object (e.g. clicking screwdriver hides screws and displays other image) however when I add the code to the item, if the item is clicked and it's nowhere near the object it affects, the image pops up and it looks really stupid.
So what I'd like to be able to do, possibly using if and else statements or whatever's easiest, is to only have the inventory item be clickable if the movie clip of the object is affects is visible on the stage.
make a circle object movie clip call ball and make a rectangle object movie clip call mc and paste this coding.
[Code]...
can anyone explain about the movement about D? the D is talk about the distance if i go -X,way my ball go ++ to +x?
How can i make a combination of keys make a movie clip visible? Basically i want something like this to work:
if(Key.isDown(Key.Alt && Key.A)){
reminder._visible = true;
}
So when someone presses the Alt and A keys down at the same time the 'reminder' mc becomes visible?
I have a site with a container clip which all other content loads into. When one movie loads, it has a button that I'd like to be able to click to go to another page in the site (ie. unload it's parent movie and load another swf into the same container clip.
How can I address the parent container clip and tell it to unload this movie and load another swf into it?
I have a bunch of movieclips which constantly do the following:
mc.parent.addChild(mc);
as in bring themselves on top. I want a movie clip to always stay blocking them, without adding it to the stage every frame, which is unnecessary memory usage.
Animation of the head that comes up with the crank on it is 15 frames long. The head stops at frame 15, and it begins to crank at frame 16. Do I make a keyframe at frame 16 of that still crank at its begininng position, double click it to get its own timeline, then import the other 7 images of the crank animation into this seperate timeline, animate its cycle, then go back to the main time line at frame 16 and it should play the cycle when the main timeline hits frame 16? What if I want the cycle to only crank once around and not loop? Then, what happens to this movie clip when frame 17, 18 20, 30 is playing? It takes say 2 seconds to play the crank animation so while the play head is going along after frame 16, and the crank is moving what is in its place on the main timeline after frame 16? Should I just put frames in for the length of the rest of the animation (brain and words coming out of the head)?
View 1 RepliesI have a simple animation which fades in two movie clip objects at the end. After this, the image stays static. I want both objects to be buttons to link to a website and to emailI'm not sure how to go about doing this, it seems once an object converted to a movie symbol it cannot be a button at the same time. How can I achieve this with CS4?
View 2 RepliesI am trying to make a grid with different frame for each movie clip
function dup() {
var maxNum = 7;
var Col = 4;
[code].....
ive been working on boucing code and ive got this
onClipEvent(load) {
gravity = 2;
speed = 0;
}
onClipEvent(enterFrame) {
speed += gravity;
[Code]...
this will make your movie clip bounce. that i need to know is why does it bounce. i cant quite get my head around it. i start of and accelerate, hit 300 on the stage but then go up decreasing my speed by 0.8 every frame..
I know this sounds stupid, but I've worked like all the time with Flash 2004 and Flash MX. Now I got CS3, and I want to do the following. I made a MP3 player, but I want to make a 'play' icon visible when the music plays and the 'pause' icon visible when it's paused. Therefor the 'play' icon needs to be invisible,
[Code...
This is my first time using this forum. I would like to know how to reset the movie clip when two objects touch each other
View 5 RepliesOk I want to make spawn able enemies and when they get in like 5 pixles in range they start to follow the player they are moving and if they switch directions it will go to another frame that will make it look like they are running in that direction. How can this be acheived?
View 1 Repliesi have a main menu that when you roll over the shop button, a sub menu will appear beside it.this sub menu is a movie clip namely;shopSUB.
shopSUB is animated and when i load it on the stage it loops again and again. and so, how will i make it loop only for once?
i have make a movie clip button and function it if i roll over ,my object will fellow my mouse, Roll out my object will go away
movie Clip Name(Rb)
and mouse up my object will
object.x+=10
object.y+=10
but my movie clip button still work ! if i accidents Roll over the movie clip button ,my object will fellow my mouse again
i wanted to disable my moiveClip button,any can teach me how ? like
var Rb=true
function objectMoving(event:Event):void{
Rb=false
object.x+=10
object.y+=10
}
how do I make a movie clip button?
View 1 RepliesI recall doing this, but don't remember the steps. I need to make a movie clip into a button. I recall having frames with the labels "_up, _over, and _down" But that's all I remember. I lost my book with the instructions. Does anyone have any links to tutorials on this.
View 4 RepliesI have an issue while trying to create an instance of a movie clip, in order to rotate it dynamically. How can I have a variable of type myMovieClip in which I can invoke the _rotate method?
View 1 Replieshow to make a movie clip expand in width and height and then stop when it reaches a certain size?
View 1 RepliesI am starting off by creating a very very basic flash document, with about 10 frames in it, just to get myself used to controls etc. i have got my buttons working to go from one frame to the next, and i am now wondering how to make a button load a movie clip, the movie clip is actually just a circle i drew and converted, but i would like this to be invisible, and then to load, or "play" when a button called "1" is clicked
View 4 RepliesDoes any one know how to make a movieclip invisible so I can use it as an invisible button?
View 3 Replies