Walking Animation Stop();
Someone has been helping me out, seeing if anyone else can help me out:
I have a walking person that goes to the middle of the stage, stops, and looks down and something in their hand
I have a main timeline that contains a movie clip (I will call it 1) and 3 frames as of right now.
That movie clip is actually the person walking arcoss the screen, so the tweened person.
Nested inside of that, is a mc (called 2) that is the actual steps of the person walking.
Here is my problem that was partially fixed.
I need my mc 1 to run and stop and then go to frame 2, frame 2 will have a mc on it as well, that should run its course, and then go to frame 3 and so on.
This was the code that was put at the LAST frame of the MC 1 (the tweened person walking) stop(); _root.WalkingMc.motionMc.gotoAndStop(1);
WalkingMc is the instance name on the main timeline motionMC is the instance name of the actual MC 1...the tweened person (Does that make sense?)
When I had just ONE frame this worked correctly. My person walked, and stopped when I wanted it to. The problem came when i added frames. I changed the frame # (I know I have to change this to actual names fin place of the frame #) and it didn't work.
My file size is too large to add it on here, but I can email it to anyone on a mission to help me out :-)
Thank you so much.
FlashKit > Flash Help > Flash General Help
Posted on: 05-04-2005, 07:14 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Stop Me Walking Through Walls
Can any one help with a basic problem of getting the boundry of a MC and stopping it from walking through a wall in AS3
I used something like this in AS2 http://www.edmack.com/flash_tutorial...b=art_hit_rpg1
thanks in advance
Mario Will Not STOP Walking
I cannot seem to get Mario to stop walking once the key is up. Can someone look at the file and tell me where my script is wrong?
http://www.yousendit.com/transfer.php?action=check_download&ufid=978EDD6346D10655&key=12c7970d1ec0e8345afc85c7f4afb6f809e23db4
Thanks,
Atomic Nixon
Need A Walking Man Animation..
Hi peeps,
I need an animated vector based moving man movie. I looked in the movies section and I found one but unfortunately the man was walking towards you and I must have him walk away into the screen. It just needs to be a movie of a vector man walking into the screen.
Any ideas would be helpful.
Steven
www.real8.net
Walking Animation
I have a animation of a person walking, and I want it to go half across the screen and stop, when I add a stop action to the motion tween mc, it stops, but the person still walks in place, if I add the stop to the mc of the person walking, it won't loop. If I add the stop on the main timeline it does nothing. Any ideas? I am sure it is a simple fix.
I want this to stop and go to the next frame, I have also tried a stopAndgoto(2) and that doesn't work either.
Thanks for your input!
Walking Animation
I've been wondering for some time how I can make a realistic walking motion.
Starting from the beginning what will I need? Like seperate layers for hands, arms, etc. OR if anyone knows a good tutorial that would help it would wonderful of you guys.
Walking Animation
Hey, I am new here but hope to learn alot! I am a college student and we are just starting advanced actionscripting. I just had a question. Our main project is we have to make a game in flash. so im starting with getting a character to walk. I havent started to design him yet but thats because im wondering if i should make it a sprite, or a movie clip. the animation will be triggered by a keypress and I am just wondering what you guys think would be the best way to do this, and if you know of anywhere that may be able to show an example. I know alot of people were curious about it but I was unable to find anything that explains how to in AS3. Thanks again
Walking Animation?
Ok i could never figure this out so I need some help x.X
How do I make a walking animation where when you click on the left arrow, your account walks left with the walking animation, and the LEGS move smoothly back and forth.
Same for right arrow and such.
If its possible does anyone have a source script for it or anything x.X?
Stop Walking And Face The Same Direction? (RPG)
I'm working on a game with a sort of RPG style view, in which the arrow keys move the character up down left and right on the screen. The character MC has eight frames, four with walking MCs and four with standing still MCs.
Here is my current script:
-----------------------------
onClipEvent (load)
{
this.gotoAndStop("downFace");
}
onClipEvent (enterFrame)
{
if(Key.isDown(Key.SHIFT))
{
movespeed = 3;
}
else if (!Key.isDown(Key.SHIFT))
{
movespeed = 2;
}
if(Key.isDown(Key.UP) && !Key.isDown(Key.DOWN) && !Key.isDown(Key.LEFT) && !Key.isDown(Key.RIGHT))
{
this.gotoAndStop("upWalk");
this._y-=movespeed;
}
if(Key.isDown(Key.DOWN) && !Key.isDown(Key.LEFT) && !Key.isDown(Key.RIGHT) && !Key.isDown(Key.UP))
{
this.gotoAndStop("downWalk");
this._y+=movespeed;
}
if(Key.isDown(Key.LEFT) && !Key.isDown(Key.RIGHT) && !Key.isDown(Key.UP) && !Key.isDown(Key.DOWN))
{
this.gotoAndStop("leftWalk");
this._x-=movespeed;
}
if(Key.isDown(Key.RIGHT) && !Key.isDown(Key.UP) && !Key.isDown(Key.DOWN) && !Key.isDown(Key.LEFT))
{
this.gotoAndStop("rightWalk");
this._x+=movespeed;
}
if (!Key.isDown(Key.UP) && !Key.isDown(Key.DOWN) && !Key.isDown(Key.LEFT) && !Key.isDown(Key.RIGHT))
{
this.gotoAndStop("downFace");
}
}
-----------------------------
I REALLY like the way the last part works, detecting any time that none of the four arrow keys are being pressed. At the moment I just have it set for "downFace", so whenever you aren't moving the character defaults to facing down (facing you). But I need it to ALSO detect what the last key pressed was, ie the last direction the character was walking. Is there a way I can add on to that, basically saying "if the up key isn't down, the down key isn't down, the left key isn't down, the right key isn't down, AND the last key down was left, then go to "leftFace" (the frame in the character MC with him standing still and facing the left). And follow that with "else if" statements for the other three directions? If someone could tell me the best way to modify this without completely changing my current script I would really appreciate it.
I'm just very attached to the way it is now because it got rid of any weirdness caused by multiple keys being held down (in the past I would hold three of the arrow keys and the character would glide off the screen).
Walking Animation Troubles ... Still
I've gotten my character to walk correctly north south east and west:
http://www.fuzzydzygn.com/movement.html
But for some reason I can't get my diagonals to work. It doesn't do the walk animation, and the character jumps to the wrong from on keyup. I don't understand why. I think it is probably because of the double button press. But I would like to make it work this way. any help?
fla file:
http://www.fuzzydzygn.com/movement.fla
code:
Code:
onClipEvent (enterFrame) {
if (!_root.back.hitTest(this._x+20, this._y, true)) {
right = true;
} else {
right = false;
}
if (!_root.back.hitTest(this._x-10, this._y, true)) {
left = true;
} else {
left = false;
}
if (!_root.back.hitTest(this._x, this._y+10, true)) {
down = true;
} else {
down = false;
}
if (!_root.back.hitTest(this._x, this._y-10, true)) {
up = true;
} else {
up = false;
}
if (Key.isDown(Key.UP) and up) {
this._y -= 15;
setProperty(_root.hero, _width, _root.hero._width-6);
setProperty(_root.hero, _height, _root.hero._height-7.3);
tellTarget ("../hero") {
gotoAndStop("north_walk");
}
}
if (Key.isDown(Key.DOWN) and down) {
this._y += 15;
setProperty(_root.hero, _width, _root.hero._width+6);
setProperty(_root.hero, _height, _root.hero._height+7.3);
tellTarget ("../hero") {
gotoAndStop("south_walk");
}
}
if (Key.isDown(Key.LEFT) and left) {
this._x -= 15;
tellTarget ("../hero") {
gotoAndStop("west_walk");
}
}
if (Key.isDown(Key.RIGHT) and right) {
this._x += 15;
tellTarget ("../hero") {
gotoAndStop("east_walk");
}
}
if (Key.isDown(Key.RIGHT) and right && Key.isDown(Key.DOWN) and down) {
tellTarget ("../hero") {
gotoAndStop("southeast_walk");
}
}
if (Key.isDown(Key.RIGHT) and right && Key.isDown(Key.UP) and up) {
tellTarget ("../hero") {
gotoAndStop("northeast_walk");
}
}
if (Key.isDown(Key.LEFT) and left && Key.isDown(Key.DOWN) and down) {
tellTarget ("../hero") {
gotoAndStop("southwest_walk");
}
}
if (Key.isDown(Key.LEFT) and left && Key.isDown(Key.UP) and up) {
tellTarget ("../hero") {
gotoAndStop("northwest_walk");
}
}
}
onClipEvent (keyUp) {
prevFrame();
}
Walking Animation Problem
yes.i'm doing a tutorial which involves animation and i've been having a problem.in layer 1,i Edir_Modify,then i turn off the visibilty in Layer 1 and i select the second frame in Layer 1 and i insert a frame.then i go to the third frame and insert a blank frame,as directed, and i suppose tp aste my object on stage in the third rame,but FlashMX won't let me paste.please could someone help?
Walking Animation Won't Work
I used one of the tutorials on this page to make a already finished animation of a walking man walk from one side of my screen to the other, instead of just on one place.
and Guess what:
It didn't work
I came up to this step:
http://www.flashkit.com/tutorials/An...518/more10.php
when it wouldn't work anymore.
I did everything like it was said but in the end:
The "walking man" wasnt waking but just a sliding image from point a to B like I just had taken 1 not animated Pic and let it move with a normal movment tween.
Can anybody help me and tell my where the animation is gone?
Walking Animation Question
Hi, I've just made my character do a basic walking movement. But I want to make him walk forward continuously, is there an easy way to do this, instead of having copying the frames and dragging all the parts to the right place? It's kinda hard to explain, check the file out please!
Thanks.
[F8] Walking Animation In Game
hi, im trying to make a game where the arrow keys move your player, simple enough, but i want his legs to move to, im making it so on keypress it goes to and plays the frame of him walking, but it doesn't work, it just goes to and stops the next frame, if this makes sense. please help? how can i make him walk?
Walking/jumping Animation
I've been looking around and cant seem to find anywhere that has a good tutorial on making stick figure animations. stuff like you see here http://www.hackernetwork.com/flash/stickdeathx.shtml
can anyone help?
Action Script Problem. Stop Walking
I am working on a videogame/portfolio site that has an alien you control around using arrow keys. I have him set up that when I Key.isDown on say the......"up arrow", the alien moves up. And also the key is used as a button, because I also made an invisible goto button that will make him the face the correct direction when the walking movie clip of that direction is playing. My problem is that he doesen't stop walking when he is in place. How do I stop him walking in place?
I don't have my flash open but off the top of my head I can show you how I have the walking MCs setup.
/////////////////////////////////the invisible goto button)///////////////////////////
on (keyPress "<Right>") {
gotoAndStop(2);
}
on (keyPress "<Left>") {
gotoAndStop(1);
}
on (keyPress "<Up>") {
gotoAndStop(3);
}
on (keyPress "<Down>") {
gotoAndStop(4);
}
/////////////////////////////////(the timeline)///////////////////////////////////////
layer1- invisible button script
layer2- Frame1=walking left MC
Frame2=walking right MC
Frame3=walking upward MC
Frame4=walking downward MC
What should I do to make the alien rest???????
Thanks!!!
Using 'hitTest' To Stop Player From Walking Into Wall - Help
hey its me
i have a simple character who i want to stop when he walks into a wall
i have had a look at some scripts but don't make much sense.
the walk script:
ActionScript Code:
this.onEnterFrame=function(){
if (Key.isDown(87)) {//key 'W'
_y-=5;
}
if (Key.isDown(65)) {//key 'A'
_x-=5;
}
if (Key.isDown(68)) {//key 'D'
_x+=5;
}
if(Key.isDown(83)){//key 's'
_y+=5;
}
}
also the movieclip i want to hitTest on is 'Building_mc',
an idea of what i could do would be really nice!
Walking Animation 'on The Spot' With Certain Key Presses
I have a glitch in my code somewhere, and was wondering if one of you kind souls would help me.
I have a walking animation frame for a movieclip (frame 5), and a still frame for when it is not in motion (frame 1).
It all works fine, except for one small glitch.
If I hold RIGHT (for example), then release, it stops walking.
If I hold RIGHT, then hold UP, then release UP, then release RIGHT, it continues the walking animation but stops moving.
Any ideas?
Code:
onClipEvent (load) {
gotoAndStop(1);
leftpower = 12;
rightpower = 12;
uppower = 12;
downpower = 12;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.CONTROL))
{
keydown=true;
}
else
keydown=false;
if (Key.isDown(Key.LEFT)) {
_x -= leftpower;
gotoAndPlay(5);
this._xscale = -100;
}
if (Key.isDown(Key.RIGHT)) {
_x += rightpower;
gotoAndPlay(5);
this._xscale = 100;
}
if (Key.isDown(Key.CONTROL)) {
gotoAndPlay(12);
}
if (Key.isDown(Key.UP)) {
_y -= uppower;
gotoAndPlay(5);
}
if (Key.isDown(Key.DOWN)) {
_y += downpower;
gotoAndPlay(5);
}
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = 0;
yspeed = 0;
leftpower = 0;
}
else {
leftpower = 12;
}
if (_root.bwall.hitTest(this.touch)) {
xspeed = 0;
yspeed = 0;
downpower = 0;
}
else {
downpower = 12;
}
if (_root.twall.hitTest(this.touch)) {
xspeed = 0;
yspeed = 0;
uppower = 0;
}
else {
uppower = 12;
}
if (_root.leadpipe.leadpipetouch.hitTest(this.touch)) {
_root.leadpipe._x = -1000
gotoAndPlay(5);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
gotoAndPlay(1)
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.LEFT) {
gotoAndPlay(1)
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.UP) {
gotoAndPlay(1)
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.DOWN) {
gotoAndPlay(1)
}
}
Starting And Stopping Walking Animation
I need some help with my little project.
I made a character and I let him move over the screen by clicking with the mouse. Next step is make him do a walking animation while he's moving. I made an animation on frame 2 on (_root.milford.animation) but when I try to tell it to go frame 2 with tellTarget() it doesn't work at all. No sign of the animation and I can't even move my character over the screen.
So could someone give me a hand here?
http://piers.buggyashell.nl/bogus.fla
Walking Character Animation Question
Sorry, I know I posted a character animation earlier, but I was wondering if anybody had any .fla files of a walking character they created or know of a place I could get open source files of a character walking. I promise I won't steal content lol, I already have my character I just need help jump starting into making him walk. I watched tutorials and I have a vague understanding, I think I would understand better if I had something to play with. Any points in the right direction is appreciated! Thanks for your time in reading this thread.
Animation Of The Outline Of A Walking Person.
You know those iPod-commercials where you just see the outline of a person moving around?
I want to do something like that myself, in flash. With a person walking in a direction and then stopping up, and the 'camera' zooms in on the head. Or you know, whatever.
Does anyone have any examples of this, or something similar being done in flash?
Or does anyone have any good tutorials for doing something like this?
Thank you in advance.
Walking Character Animation Question
Sorry, I know I posted a character animation earlier, but I was wondering if anybody had any .fla files of a walking character they created or know of a place I could get open source files of a character walking. I promise I won't steal content lol, I already have my character I just need help jump starting into making him walk. I watched tutorials and I have a vague understanding, I think I would understand better if I had something to play with. Any points in the right direction is appreciated! Thanks for your time in reading this thread.
How To Stop Character Walking From When Road Scrolling Reach The Edge Of Screen?
hi
here i have a zipped fla file where i have problem with the character still wallking when road scrolling reach the end of the screen.
how would i stop that?
Code:
//road scrolling
road.onEnterFrame = function() {
if (_xmouse>600 || _xmouse<200) {
midpoint = 400;
right = this._x+this._width;
if (_root._xmouse<midpoint) {
if (this._x<0) {
this._x = this._x+((midpoint-_root._xmouse)/50);
}
} else {
if (this._x+this._width>800) {
this._x = this._x-((_root._xmouse-midpoint)/50);
}
}
}
};
//4 different mascot movieclips and all invisible to begin with except one
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 1;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
//mascot movieclips in/visible depending on _xmouse
mascot.onEnterFrame = function() {
if ((_xmouse<400) && (_xmouse>200)) {
mascot.mascotfl._visible = 1;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
}
if (_xmouse<200) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 1;
mascot.mascotwr._visible = 0;
}
if ((_xmouse>400) && (_xmouse<600)) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 1;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
}
if (_xmouse>600) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 1;
}
};
thanks
How To Stop Character Walking From When Road Scrolling Reach The Edge Of Screen?
hi
here i have a zipped fla file where i have problem with the character still wallking when road scrolling reach the end of the screen.
how would i stop that?
heres script:
Code:
//road scrolling
road.onEnterFrame = function() {
if (_xmouse>600 || _xmouse<200) {
midpoint = 400;
right = this._x+this._width;
if (_root._xmouse<midpoint) {
if (this._x<0) {
this._x = this._x+((midpoint-_root._xmouse)/50);
}
} else {
if (this._x+this._width>800) {
this._x = this._x-((_root._xmouse-midpoint)/50);
}
}
}
};
//4 different mascot movieclips and all invisible to begin with except one
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 1;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
//mascot movieclips in/visible depending on _xmouse
mascot.onEnterFrame = function() {
if ((_xmouse<400) && (_xmouse>200)) {
mascot.mascotfl._visible = 1;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
}
if (_xmouse<200) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 1;
mascot.mascotwr._visible = 0;
}
if ((_xmouse>400) && (_xmouse<600)) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 1;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 0;
}
if (_xmouse>600) {
mascot.mascotfl._visible = 0;
mascot.mascotfr._visible = 0;
mascot.mascotwl._visible = 0;
mascot.mascotwr._visible = 1;
}
};
thanks
The Walking, Fast Walking, Running Man On Preloader.
Hi, you guys have probably seen the running man tutorial by Lee? It's the one where you do it in poser and export it as swf.
Well, this is what I wanted to do and I am having trouble on how to begin with it.
I am making a preloader which at the very begining there will be a walking man(made from poser) on top of the bar just like below...
Then, I wanted it to change from walking to fast walking (Can be done with seperate poser swf files) when the preloader bar reaches 1/3.
Then at 2/3 I want it to change from fast walking to running (Another different swf file).
I know this is possible, it's just the matter of being able to code it.. I am still very new at action scripting so if any of you can help me, I will be very greatful
Thanks!
2 Part Question : Stop Movie Animation/Load Movie Animation
Okay I am a VBA guy and taking on a project in Flash. So 72 hours into it I am going nuts on a simple problem = P. I read a tutorial from http://www.echoecho.com/flashbuttons02.htm about how to make animated buttons. All went well, I was able to DL the FLA and really see the inner workings. However. When I mouse over I want the move to play but not loop. I can't get it to stop. I want my button to go from black to alpha 20% and stay on mouse out, 20% alpha - black. That code on the site makes it loop, which is very unappealing. (Also in the FLA they use grouped graphics, what the advantage to that?)
So second part. In my button I would like the "down" to enable another .swf to open and play on the other half of my page setup. Am I coding onpress() on the down part of the button or elsewhere in the FLA.
I wanted to attack my fla file but i guess you can't. regardless if ppl need to see more of what I am doing then I can host it on my site. I figured this is pretty basic stuff that once I know I will get it.
http://www.alexrat.netfirms.com/portfolio/teevo/teevo.htm - This is a site that I liked. It has the nice buttons like I am trying to build and then on mouse clicks it changes the other side of the page. That is what I am aiming for.
Stop And Go Animation
hi everyone,
I got a problem, I wanna make an animation where there are certain pictures fading in and out. I want the user to be able to stop this fading by a single click into the picture, so that he can watch the picture longer than the fading takes if he wants to, so I tryed to use the sript
on press/release
stop (<— shortform)
and the fading stops immediately but I don't know how to programm the pics to continue fading after a second click into them.
can someone help me please
Cant Get Animation To Stop
I've got an MC deep inside other MC's and I'm trying to turn off the animation when a sound clip stops.
Is there any way to tell if a sound is playing anywhere in the movie and then use an if statement to shut them off an MC if no sound was playing?
Non Stop Animation
i have made a small animation in swish, i can preview it in swish and it looks ok, when i export the code to Front page or view in browser
the animation works fine, but it continues doesn't stop.
can someone help
How Do You Stop Animation
ok, I have some text that starts off being white and fades into to be black after 50 frames. After it is done I want it to stay black but it just dissapears. How do I keep it there?
Help To Stop An Animation
Hello. I am playing with a new movie that opens a door. The problem is that I don't know how to stop the door after it opens one time. Please help!
Stop Animation
Hi! I wounder how i shuld type to make a stop in a symbol thats in a symbol. (Animation in animation) And i want to make the stop button on the root scen.
How do i make the linking.....
I Want Animation Not Do Stop.
I'd be grateful if you could help me to solve a small problem.
I want to create a button including an animation. The problem is: when the cursor is over the button the animation starts... then as I bring the cursor out of the button the animation stops- which is an undesirable effect.
To sum up, I'd like the animation not to stop as I bring the cursor out of the button. It is expected to remain to its end.
Is it possible to describe how to do it?
Regards.
Cant Get The Animation To Stop
hi i am just making a flash banner for a site and a logo flys in and then the buttons, but after the buttons have apeared i cant get it to stop.
here it is paste this in your browser without the spaces, it seems this site wont allow urls
http://h1.rip way.com/flash stuff/finis hed.swf
dont worry about the size, it wont be that big when i upload on me site but thts just ot give u the idea.
please help ive been trying to figure it out for over an hour lol
thanks for any help
Animation Won't Stop
i created a simple flash animation with a piece of artwork and a piece of text. i'm using it as a header on a website. i want it to play once and then stop, but it keeps repeating. can anyone tell me how to make it play just once?
you can check it out here.
http://interactiverealty.yourkwagent.com/
How To Stop Animation
Hi....
Im kind of new to Flash MX action script....
I was just playing around with some of the samples, examples snowflakes.
The problem is that I want the snowflakes in Scene 1 and I dont want the snowflakes to keep on running to Scene 2.
I tried putting stop(); to the action script, that didnt worked because I will not be able to go to Scene 2.
Been looking at the coding zillion times, but still I cant figure out..
Is there anybody can help me with my problem?
Thank you
Stop Animation
In this code I was playing around with my movieclip. It animates but I am trying to get it to stop when the mouse is on the movieclip. It stops but it jumps back to the start position where I just want it to stop with out jumping back.
onClipEvent (load) {
move = true;
}
onClipEvent (enterFrame) {
if (_root._xmouse<286) {
this._x += 5;
move = true;
}
if (_root._xmouse>287) {
this._x -= 5;
move = true;
}
if (_root._ymouse>125 & _root._ymouse<204) {
this._x = move;
move = false;
}
}
How To Stop Animation?
Need some quick help. Designing some menu's in 3D and having problems stopping movement when they reach screen (axis Z = -150).
Here is link: http://bes.si/test.html
PS: click works only on red ball
TNX for any advice!
Stop All Animation
this seems like a pretty basic question, but i couldn't find an answer; even in a search of the forum here...
how do you create a button/action within a movie clip that stops ALL animation. not just movement on the main timeline, but in other movie clips on the timeline as well?
Stop An Animation In A Animation
Hi! I wounder how i shuld type to make a stop in a symbol in a symbol. (Animation in animation) And i want to make the stop button on the root scen.
How do i make the linking.....
Stop Animation At The Right Frame
I have this button, next to it I've got an MC.
button:
Code:
on (rollOver) {
mc.play();
}
on (rollOut) {
mc.stop();
}
Fact is I don't want this code. On rollOut I want some kind of if that says kind of like: wait until movieclip mc has played the full animation (10 frames) and stop it when it reaches frame 1.
I do not want to use the gotoAndStop command, that's not my purpose. I want my cube (it's a spinning cube) to smoothly stop, not just flicker and jump to frame 1.
Do I make myself clear? Help is really appreciated.
Animation Stop During Loop
I have an intensive loop that last at least 5 seconds.
During that time my animation stop. The sole purpose of the animation is to show that my flash movie is not froze.
Is there a way to avoid the animation to stop during the loop.
CFK
Stop Animation From Variable
I have a movieclip with 4 buttons in and a movie clip looping an animation I want to be able to stop the movie at a certain point according to whichever button I press.
This was my idea
in the animation I have the following on each fame I want to stop at:
------------------------------
if (place=portfolio) {
stop();
}
------------------------------
and on each button
------------------------------
on (release) {
place = "portfolio";
}
-----------------------------
it doesn't seem to work though.
Any help would be appreciated
Cant Stop Menu Animation
g'day all
im having trouble stopping animation in this movie. i want the opaque screen to slide in and out on mouse over and roll out. but i want the menu to slide out and stay put, not jump and out as it does in my movie.
any help appreciated
ozdude
Stop Animation Button Help Please
Hi, I am having a problem with a button that stops some movie clips.
Basically I have two buttons one for play and the other for pause. On startup only the pause button is visible, and when you press the pause button, the pause button goes invisible and then the play button visible and vice versa. Nothing complex.
I have 5 small animations that are named movie1-5 respectively, and are grouped together in one main movie, called mainmovie.
I have the mainmovie, so that on rollover the animations stop, and on roll out they play again. I want the play and pause buttons to do the same thing. But I just cant get them to work.
Here is my code for the two buttons.
PLAY BUTTON
on (release) {
_root.pause._visible=true;
_root.play1._visible=false;
movie1.play();
movie2.play();
movie3.play();
movie4.play();
movie5.play();
}
PAUSE BUTTON
on (release) {
_root.pause._visible=false;
_root.play1._visible=true;
movie1.stop();
movie2.stop ();
movie3.stop ();
movie4.stop ();
movie5.stop ();
}
and for the rollover/rollout state for the mainmovie
on (rollOver) {
movie1.stop();
movie2.stop();
movie3.stop();
movie4.stop();
movie5.stop();
}
on (rollOut) {
movie1.play();
movie2.play();
movie3.play();
movie4.play();
movie5.play();
}
Im not sure what im doing wrong, but I just cant get it to work.
If you have any ideas I will be most grateful.
Many thanks Alex
PS: The swf without the buttons is visible at
http://www.code-d.com/alc/welcome.htm
And the fla at
http://www.code-d.com/welcome.fla
How To Stop Animation & Sound ?
Quote:
I'm using Flash MX.
I'm working on a flah movie with sound effect.
I want that animation and sound will stop as soon as there is a right click over the movie and last frame of the movie will be displayed.
s anybody there to help me out?
PREVIOUS MESSAGE WAS THIS AND WHICH WAS WRONGLY GIVEN. THIS IS EDITED ONE
Quote:
We have a Flash Movie and if we right click on the flash movie and click on forward button the flash movie freezes and does not work. We are trying to fix this. What is the way to move 'Forward' and 'Backward' in a Flash MX movie? Do you need to write script to achieve this function. Please help !
|