[F8] Stopping Timeline Exactly Where It Is
I need help with stopping the timeline and audio exactly where it is when my pause button is pressed. The pause changes to a play button which on release I want to pick up from exactly where it is on the timeline and in the audio. Can this be done?? I'm fairly good with general scripting, but I didn't know if this could be done or if it was something really advanced. If anyone could help me I would greatly appreciate it. Thanks for you time and guidance.
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-08-2006, 11:07 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Stopping The Timeline
ok, so I have what should be a simple problem, but I seem to be having trouble with it.
I need to stop the timeline on the first frame. Here's the code I'm trying to do it with:
Code:
stage.addEventListener(Event.ENTER_FRAME, stopStage);
function stopStage(evt:Event):void {
stage.stop();
}
When I run this I get this error:
1061: Call to a possibly undefined method stop through a reference with static type flash.display:Stage.
Stopping Timeline
Hi there,
Im totally new to flash but I want to try to make a small personal site with it.
The trouble Im having is knowing how to stop flash from looping and reloading my page when it gets to the end of the timeline.
Thanks in advance!
Stopping Timeline
Hi there,
Im a total newb with flash but I want to make a small personal site with it.
The trouble im having is that I want to make text move across the screen then stop and act as a button.
I can do this but what I want to know is how to make it stay until the user clicks to another page.
Right now, the timeline goes to the end and then redraws the whole page again. How do I get flash to stop the timeline when all my flash has appeared and is waiting to be clicked?
Thanks!
Stopping Mc From Timeline?
I am having a nagging problem of not being able to get a mc to stop.
I have tried
_root.mcBreif.mcHead.stop();
and this.mcHead.stop();
The mcHead instance is a mc of a guy talking and I want to just tell it to stop when it gets to points and play at other points of the mcBreif timeline.
Easy... done it dozens of time.... it just won't work...
Could it be the because I am working with scenes? I havn't done the scene thing much before.
Stopping And Starting Timeline
When I put a stop() in frame 1, I can't get the timeline to start back with goToAndPlay(2), play(), or continue. Is it possible to start and stop the timeline?
Stopping An Mc While Reversing The Timeline
The code below i use to reverse the timeline, but once it executes I cant seem to find a way to stop it at a certain frame/s
If I put stop actions intermittently on the root MC it ignores them.
ie. it rewinds to frame 1.
So how can i add to this code to to tell flash to stop if at certain frameS....
Please, any advice is golden..
thanks
Ant
mcReverse.onRelease = function():Void {
//enter the movie whose timeline u wish to reverse and the frame u want to rewind until
reverse(_root, 1);
};
function reverse(movie:MovieClip, frameno:Number):Void {
movie.stop();
movie.onEnterFrame = function():Void {
movie.prevFrame();
if (movie._currentframe == frameno) {
delete movie.onEnterFrame;
}
};
}
Problem With Stopping Timeline
im sorry, ive posted this topic on wrong place, but here it comes the right way. im trying to stop interval, but dunno how:-(
Im really out of any ideas, so here comes my problem, any idea for solving is welcome.
I have a little slideshow within a movieclip on my stage, using AS2.0 to pause timeline for few seconds(also in the same mc like slideshow):
function paused(sec) {
stop();// action to pause
var i = sec-1;//countdown
var t = setInterval(function () {
if (i == 0) {
clearInterval(t);
play();// action to continue
}
i--;
}, 1000);//milisecond multiplayer
}
calling it on every needed frame of mc by "paused (number of seconds i want)"
It goes well, unless i click on any of buttons on the main stage, switching to the next frame of the main timeline. After clicking on it, it goes on the next frame(frame02 for example) of main timeline, but than it seems(for me), that function paused is still continues and after running out of "(number of seconds i want)" it jumps on the next frame(frame 03) of main timeline and stops there.
I tried different methods to pause the timeline but its the same or even worse (it doesnt stop on "next next frame" at all and looping or using setTimeout does same )
I thought about specifying more this
if (i == 0) {
clearInterval(t);
because it says that the interval is cleared only when "i" reaches "0" so when i click the button before it reaches it, it has to go to the and and than play. But have no idea how to clear it when i click anything, cause in the "next frame"s actions clearInterval(t); doesnt work:-(
searched through many forums and many walkthoughs but didnt find the same or similar problem:-( Does anyone has any idea how to make it work fine?
here are my files:
http://www.volny.cz/studiook/101207.swf
http://www.volny.cz/studiook/101207.fla
fla (1616 kB)
swf (169 kB)
Working on it for 2 weeks and have no idea how to make it work:-(
sorry for second posting, but i think it should be here, so if you can, delete my first threat in General Help
Stopping All Sounds On A Timeline?
Is it possible to stop all sounds that are currently playing in a movie and at the same time stop future sounds that the playhead will encounter on the timeline?
Here is the code I'm using on the 'mute' button now:
ActionScript Code:
mute_mc.onPress = function() { this._visible = false; stopAllSounds(); //fadeout();};
Stopping Playhead 3 Frames From End Of MC Timeline
I'm controlling a movie's timeline that I loaded in to a Movie Container by using a button action. I'm moving the playhead forward 3 frames at a time on Release.
I'm using this button action to move the playhead ahead 3 frames at a time:
on(Release){
x = _currentframe;
x = x+3;
gotoAndStop (x);
}
What I'm really doing is targeting a movie that is loaded in to a Movie Container which is called "whitebox". I'm moving that loaded movie ahead 3 frames at a time with this button action:
on(Release){
x = whitebox._currentframe;
x = x+3;
whitebox.gotoAndStop (x);
}
This all works just fine and dandly until I come to the end of my targeted movie's timeline. I want the playhead to stop on the 3rd frame from the end of the timeline. I don't want to see the last 2 frames. Is there some way to add a action that detects when I'm 3frames from the end and stops the playback. (hold on.. read the next part)
Here is the tricky part... I have to do this without adding any action scripts directly in my LoadMovie movie. It's ok for my Buttons, Movie Containers to have actions, but the movie I'm loading into the movie container can't be touched (cause it's loading in as a "swf" file for another source outside of flash).
Ok, where should I start. It's something simple..Right?
Thanks for your replys,
Cosmo
Stopping Timeline Without Stop Action
Hi there,
What im trying to do is find a way to stop the timeline of a movie clip at any frame that i specify in a piece of actionscript, without using the stop action. I want the movie clip to be able to play through all of its frames and then start from the start again (if need be) until it reaches a specific frame, (which will be different each time a different button is pressed).
What I have is a movie clip of a strip of images. At any time i want the user to be able to click one of those images and that will trigger the move clip to play and then pause when that image reaches the center of the screen (the movie clip generally just holds the strip of images moving from left to right and looping). then, if they click another image the movie clip will continue to play until THAT image reaches the center.
Any ideas? I guess to sum it up a piece of script that says "on click play until frame 'n' and stop" would be good. Don't know if this exists!!
Thanks,
Lara.
Stopping And Controling Sound On A Timeline
hey people,
i got a piece of sound on a seperate layer at the root of my movie.
The problem: When i stop the movie, the sound keeps playing, how do i stop it?
How do i control the volume of all the sound in the movie, not just the one on the layer?
Thanks
Metal Fusion
Stopping All Sounds On Main Timeline.
for some reason just putting:
on (release) {
stopAllSounds ();
}
in the actionscript of a button on my main timeline isn't working.
also, i'd like to have another button that turns all sounds back on.
what am i doing wrong?
thanks.
Stopping An Internal Timeline Sound
I have a movie clip on the main timeline that is basically a lip synched character with labels for various actions with audio.
The audio is embedded into the timeline.
When I start the movie, it starts playing the character movie clip
i.e character_MC.play();
However I have a help button on the main timeline that takes me to a label on the main timeline that plays an externally loaded sound. When I click this help button, it navigates to the help label and the help audio starts playing.
Problem is that the character continues to play whatever audio file it was currently playing.
Any idea if it is possible to stop this character audio playing when it is half way through playing?
I would prefer not to have to restructure the character movie clip as it is fairly complex lip synching. I tried just using character_MC.stop(); but this doesnt stop the audio.
Many thanks
Pausing/stopping Sounds Within Timeline
Greetings,
I am using a MovieClipLoader to load external SWFs into a blank movie clip.
I have created buttons in the main SWF that pauses and plays the external SWFs, but I don’t know how to pause and play the audio track embedded within the same timeline.
(example: User hits pause: Animation and associated narration stop.
User hits play: Animation and associated narration continue.
)
The project calls for narration that syncs with animation, so it seems that loading the audio file externally is not an option.
Thanks!
Stopping Multiple Sounds Across A Timeline
ok. I'm a designer, not a programmer, so be gentle. I have a flash movie with multiple sounds beging triggered throughout a timeline. (i have them loading on frames, not actually playing on the timeline.) I have an on/off button that will stop the sounds, but when they get to the next frame where the sound is called, the sounds, of course, start again. I've tried a few ways around this, but haven't found a good solution. I'm attaching a pic of my current try. Suggestions appreciated. Thanks in advance.
Stop Music Without Stopping Timeline
I have a movie that I want to loop indefinitely. It has an audio track on its timeline. I want to stop the audio after the first loop. However, I want to have the movie still continue to loop (just no sound).
Help...Audio Does Not Quit When Stopping Playhead On Timeline
When I've used audio previously, pressing ENTER will play the movie and audio. Pressing ENTER again stops the movie and the audio.
I inherited an fla and I've found that the audio is quirky. First, you cannot stop it once it starts playing. Second if you drag the playhead along the timeline, you get NO sound coming through at all (making it difficult to sync V.O. to animation). Third, while the preview movie is in synch (ctrl+enter), when publishing, the audio synch is off by as much as a two seconds (but only for a particular layers).
Has anyone seen this before? Is it a corrupted file or did the author tweak some settings with which I am not familiar.
Thanks for your help.
[MX04] Stopping A Movieclip From Main Timeline
Does anybody know of any actionscript to put on a flash button that will make a movie clip stop playing when rolled over (not an offstate in the clip) but separately on the main timeline? Kind of like a stopallsounds but for a specific movieclip? I have something that is making me crazy!!
Stopping Sound Started In Timeline From A Class
I made a Class that when I click a button it goes to the next frame. Unfortunately every frame has sound and I want the sound that began in the current frame to stop when the button is clicked to go to the next frame. The sound is already setup to advance the timeline one frame when it is done, but the user will be able to advance it a frame before the sound is over, so in that case I want the sound to be stopped when the button is clicked.
Here is the code for the class that controls the button:
Code:
package lesson
{
import flash.display.*;
import flash.events.*;
public class NextButton extends SimpleButton
{
public function NextButton()
{
this.addEventListener(MouseEvent.CLICK, oneFrameForward);
}
private function oneFrameForward(evt:MouseEvent):void
{
MovieClip(DisplayObjectContainer(root)).gotoAndPlay(MovieClip(DisplayObjectContainer(root)).currentFrame + 1);
}
}
}
Here is the code that is on the timeline that plays the sound (only part of the code, the part with the necessary variable info):
Code:
var teachURL:URLRequest = new URLRequest("micRec1.mp3");
var micTeach:Sound = new Sound();
micTeach.load(teachURL);
var channel1:SoundChannel = micTeach.play();
var mySoundTransform:SoundTransform = new SoundTransform();
mySoundTransform.volume = 1;
Stopping Timeline Till External Mp3 Starts Playing
Hi:
Can we stop the timeline till an external mp3 loads and starts playing.. If so can someone help me..
In my 1st frame of the movie there is code to load the external mp3.. but the timeline starts automatically.. can we stop that..
Thanks
[F8] Stopping/Starting Movie Clip Via Main Timeline
I want to play a movie clip from the beginning at a certain point on the main timeline (let's say frame 10), stop the movie clip at frame 50 (of the movie clip), let the main timeline play for say another 10 frames, then start the movie clip again from frame 51 (of the movie clip).
This would enable me to play the movie, pause it and show something else for 10 frames, then resume the movie instantly.
I don't want buttons. This should be simple. The movieclip is called "InfernoT" in the library.
Thanks a bunch,
Mike
Simple Mouseover Problem - Stopping A Timeline / Popping Up A Website
Hi
I have a set of images that I scroll across the stage using a tween. I want the timeline to stop when I mouseover the images and start again when i roll the mouse off, I'm using on (rollover) and on (rollout) and this works fine, but I want to be able to click one of the images and have a website pop up. on (release) doesnt seem to work if I am using on (rollover) or on (rollout) and vice versa. You can see my work in progress at http://www.digitalus.co.nz/photos.fla (64kb)
Any tips or advice appreciated
Daniel Halfbrain
Simple Mouseover Problem - Stopping A Timeline / Popping Up A Website
Hi
I have a set of images that I scroll across the stage using a tween. I want the timeline to stop when I mouseover the images and start again when i roll the mouse off, I'm using on (rollover) and on (rollout) and this works fine, but I want to be able to click one of the images and have a website pop up. on (release) doesnt seem to work if I am using on (rollover) or on (rollout) and vice versa. You can see my work in progress at http://www.digitalus.co.nz/photos.fla (64kb)
Any tips or advice appreciated
Daniel Halfbrain
Stopping Timeline's Sound But Continue The Video's Sound
Hi folks!
I need help to solve this problem. I can't seem to get it work out.
I have a music playing in Timeline (looping forever) when the flash site starts.
In some sections of the flash site, there is a video section where users can watch a video.
When the video is played, I would like to stop the sound in Timeline so it doesn't interfere with video's sound.
For loading the video, I am using Video Object, the code is simply:
var my_conn:NetConnection = new NetConnection();
my_conn.connect(null);
var my_stream:NetStream = new NetStream(my_conn);
my_video.attachVideo(my_stream);
my_stream.setBufferTime(3);
Many many thanks in advanced for your help!!
ps: I have tried following links, but no luck to me.
http://www.kirupa.com/forum/showthre...ht=sound+video
http://www.kirupa.com/forum/showthre...ht=sound+video
http://www.kirupa.com/forum/showthre...ht=sound+video
Stopping A Action Scrpit Without Stopping The Movie ?
Hello all,
I new to flash and used a snow script i found on flash kit. Anyway my problem is i cannot stop the snow half way thought the movie ?
Link to the working file
http://www.megaupload.com/?d=S0ZNMFP6
Thanks
Stopping A Action Scrpit Without Stopping The Movie ?
Hello all,
I new to flash and used a snow script i found on flash kit. Anyway my problem is i cannot stop the snow half way thought the movie ?
Link to the working file
http://www.megaupload.com/?d=S0ZNMFP6
Thanks
Stopping A Movie Without Stopping Submovies
I have a looping animation contained in another movieclip, the parent clip stops on about frame 20 and this causes the submovie to stop playing, is there anyway round this.
OnDrag:scroll Thru Timeline / OnRelease: How To Resume Playing The Timeline
i want to scroll thru the timeline by dragging a slider. (just like scolling thru QT) framenumber will be calculated based on slider._x.
when release slider, timeline should play from that point normally
when i stop dragging the slider, the procedure of gotoAndPlay(calculatedFramenumber)does not stop and movie sticks on that frame where slider-button was released.
slider-button-code:
on (press) {
startDrag("", false, 276.5, 331.5, 757.5, 331.5);
}
on (release) {
stopDrag();
}
slider mc-code:
onClipEvent (enterFrame) {
slideframe = math.ceil(1.892*(_x-276.5)+1908);
_root.gotoAndPlay(slideframe);
}
onClipEvent (mouseUp) {
_root.play();
}
can anyone help me on that simple issue?
Controlling A Movie Clip's Timeline Separately From Main Timeline
I've got a problem here that I've been trying to figure out for a while now, and it seems like it should be way easier than this. Here's what I've got:
I'm trying to make a neato little flash swf with lots of buttons that you can push and another little movie clip will show some little animation.
I thought I could get this done pretty simply by making a bunch of buttons, giving them an over, down, hit, sound, etc. and then having one single movie clip do all of the animations, but cleverly use stop(); and gotoandplay();
I have tried a few different ways, searched through the help & tutorials, looked all over forums on the internets, and I still can't get this to work. The main timeline is really just 1 frame, and its only purpose is to just hold all of the buttons. I have given all of the buttons instance names (ending with _btn). There is a separate layer in the main timeline for the actionscript alone, and was hoping to put all of the gotoandplay commands there. The code that I am trying to use in that frame is:
Code:
this.WV_btn.onRelease = function(){this.productzmovie_mc.gotoAndPlay(2);
};
The productzmovie_mc has a command to stop(); in the first frame, and I am trying to get a button to skip to the next frame to get it going. I put a stop(); on the last frame of that animation so that it won't run through the whole thing on the first button press. If I remove that stop(); on the first frame, the whole animation just runs whenever I test it and the button has no effect.
I thought this would be way simpler than making 25 separate movie clips and hiding them or spawning them. Does anyone know what I could be doing wrong here? This seems like a pretty simple operation, and I am probably screwing up some mundane detail (I always do that). Be gentle, I am trying to learn Flash and I am a bigtime n00b. I can post the .fla if you need to see it, but it's pretty simple so far, just lots of buttons.
Thanks!
ActionScript Differences Between Main Timeline And Movie Timeline?
Hello,
Could someone explain the difference if Action Script is on the main timeline or in a movie clips time line which is on the main timeline?
I guess I mean is with regards to referring to other items or movie clips or external scripts etc.
To try and clarify what i'm going on about....
I have a form that uses a php script. The form.swf is brought into my main movie with 'loadmovie' action script.
When the form.swf is run on its own it works. When someone enters the info and hits 'send' the form gets what it needs from the php script and then goes to a 'sucsess' frame. Great.
But..
When the form.swf is run from within my main movie and someone hits 'send' the form goes to my 'fail' frame (even though it is sending the email), the php script is returning a 'fail - invalid email entered' message to the flash form (the email was valid though!!).
Because the form.swf works on its own I'm guessing that, when loaded into the main movie, i need to add something to make it talk to the php properly.
The odd thing is that it must be talking to the php as it is sending the email!!! So why is the php sending back a 'fail' and not a 'success'.
It could be that the form.swf is just not getting a response from the php and so it going to the fail frame. In which case, if my form movie is within my main movie what do i add to the php (or action script) to receive the info to the nested movie.
I cant work it out.
Thanks soooo much for your help.
Julian
Play Movie In Timeline But Keep Main Timeline In Place
Hello,
Scenerio: You are at frame 1 of the timeline and it's stopped, you hit a button and it jumps you to frame 20 and then at frame 20 a movie clip plays.
Question. Can I have that movie play for however long I want (let's say it's a 100 frame movie) BUT have my main timeline still sit on frame 20? And then when the movie is done playing it goes to frame 21 of the main time line? Currently I have to make my main timeline be the same length as any movie I have in it, and so my main timeline ends up being an absurdly long.
Just a general answer will help - which action scripts would I be looking to use (I'm using Flash 8 Pro)?
Thanks
Playing Timeline In Reverse Mode (the Whole Timeline, Not A MC)
hi,
I have to make a flash book where you can view each page forward and backwards - as if you were actually reading the book by clicking on a next or back button depending on what you wanna do.
My problem is: I have the main timeline and all the animations are placed there without using any MCs.
i know a similar topic has been covered hundred of times on this forum, but i didn't found anything covering this specifical issue.
All topics refer to MC's placed on the timeline, but i have all my stuff on the main timeline, without any mc's, so.... i have to ask
Is there any script to make the movie, once stopped, move backwards and then stop, when it finds the stop command?????????
Help!
Thanx in advance
Mcclaine
Movie Clip Timeline Vs. Main Timeline
Ok, i have made a movie clip in Swift 3d and have imported it into Flash MX. Now it is in the first frame as flash will place it there and what i would like to have happen is to tell frame 1 that when the movie clip's timeline ends and stops(frame 90) to then move the parent timeline to continue with stuff
If any one reads this please help or refer me to a MX book that is worth the valuble time we think we have!
Mike
Child MC Timeline Controlling _root Timeline
I have a main Timeline which holds a child MC. The Child MC (text01aMC) runs to a length of 156 frames (text fades up and fades down). I'm trying to move the main time line forward one frame once the child clip has reached frame 156.
I'm using the following code:
stop();
if (_root.text01aMC._currentframe>=156) {
_root.gotoAndPlay(2)
}
This code doesn't seem to do anything?
Can anyone help.
Looping Timeline W/ Delay Swf Imported To New Timeline
I'm pretty new at this and I may be having a conceptual problem. I made a movie that loops with an action script delay. That part works fine. When I preview it plays the way I want it to with a delay before it loops again. Then I export to a swf. On my new movie I "import to library" the swf file. Then I drag it onto a keyframe on my timeline. The clip plays fine but the delay I had in the action script doesn't seem to work anymore. I'm sure there must be something wrong with the way I'm going about this. Is there some other way to delay the imported movie loop?
Thanks
Movie Symbol Timeline & The Main Timeline
Hi guys,
There is the frame in my main timeline which has a movie symbol and when the timeline heads reaches & stops at this frame & start playing the movie symbol timeline, i want that when the timeline head reaches at the end frame of the movie symbol timeline, it should take me to the any frame number/label of the main timeline i want.
I tried adding the action to the end frame of the movie symbol to take me to a different frame of the main timeline but it doesn't do anything. It remains at the same frame of the main timeline.
Is there any way out?
Regards, Rohit
Main Timeline Vs Mc Timeline Smackdown
I've made a little animation in a mc several instances of which sit looping on the main timeline.
I want these mcs to load at intervals on the main timeline, frame 1, 5, 10 etc. (a kind of twinkling stars thing if you must know.)
The problem is the main timeline overrides the mc's timeline.
I was able to sort of fix this by shortening the main timeline, but I can see this solution is not satisfactory for any number of reasons, and even at the most basic level it seems erratic.
Obviously my understanding of this issue is too theoretical and not practical enough, or the other way around.
How can I force the main timeline to really accept the mc timeline instead of just pretending to?
A Timeline Application? (NOT The Flash Timeline)
Hi All,
I'm looking for something I can use to create timelines for a web application I'm building.
When I say "Timelines", I dont mean the "flash timeline". I mean something like this: http://usfweb2.usf.edu/50/images/site/timeline-small.jpg
I've seen and used lots of handy flash chart applications, like "PHP/SWF Charts"
I'd like something just like that, but only to create timelines with.
Any ideas where to look? Google is no help cause if I search "Flash" and "Timeline" together, i get millions of results for THE flash timeline. :(
I'm willing to pay a bit for it too, so its alright if its not free.
A Value From The Main-timeline To A Moviclips Timeline
Hi!
I have a movieclip on the scene. I also have a button on the scene and when I press the button I want to send a variable-value to the movieclip. I have a variable set in the actual frame on the main-timeline but the movieclip doesn´t catch that, when traced I get undefined. Can I send a value from the main-timeline to a moviclips timeline?
A Value From The Main-timeline To A Moviclips Timeline
Hi!
I have a movieclip on the scene. I also have a button on the scene and when I press the button I want to send a variable-value to the movieclip. I have a variable set in the actual frame on the main-timeline but the movieclip doesn´t catch that, when traced I get undefined. Can I send a value from the main-timeline to a moviclips timeline?
Control Of Main Timeline From Another Timeline
Working in Flash Pro 8 (on a Mac), I've got a movie clip on the main timeline. Within the movie clip is a button which, upon pressing, reveals a series of three more buttons.
My objective here is that when you press any one of those given buttons that are within the single button that is within the movie clip an instance of which is on the main timeline that it will take you back to a specific frame on the main timeline.
I am having a devil of an unsuccessful time with the concept of connecting back to the main parent timeline from a child timeline.
Any words of direction on how this is accomplished would be, as usual, appreciated.
Christian Seaborn
seaborn.christian@gmail.com
Timeline With Timeline Question
I've got four movies loading in one main movie. The problem is that while some of the scripts in those movies still work (the drag button, for instance), some don't, including the close button which takes you back from the frame you're on to the first frame.
I'm guessing this has something to do with the fact that I'm making a command relating to a timeline that is now inbedded in another timeline. So, how do I keep timeline related scriptw working, while my movie is living inside another movie's timeline?
Thanks,
Matthew
Use Timeline's Frames Or Use Mc's Own Timeline?
on various sites like this one: http://www.no-tec.com/not_quite_there.html, he probably used the original timeline for motion tween and so forth.
But for me, after the preloader, when i do stuff, what i do is i dont use the orig. timeline but i use mc's own timeline to create animation.
Is this a bad way to create animation at the start?
MC Timeline & Main Timeline
Hi all,
This is going to sound very simple, but I'm having some trouble understanding exactly how the timelines work. I've tried searching online but I haven't found what I'm looking for.
I have two animated movieclips. The first one is 50 frames long and the second one is 200 frames long.
On the main timeline, I want to the first clip to play and when that has finished I want the second clip to play. But I put them onto the main timeline, each on a different layer, they play at the same time.
I understand MC's play independently of the main timeline, but I've tried placing the second MC on the 50th frame of the main time line so it will play after the first MS has finished but it doesn't work.
Placing them both on the first frame of the main timeline obviously makes them both play at the same time...
How/where would I position the animated movie clips on the timeline so one plays first then the second one plays?
Can anyone please explain this or maybe point me towards a tutorial?
Many thanks.
Use Timeline's Frames Or Use Mc's Own Timeline?
on various sites like this one: http://www.no-tec.com/not_quite_there.html, he probably used the original timeline for motion tween and so forth.
But for me, after the preloader, when i do stuff, what i do is i dont use the orig. timeline but i use mc's own timeline to create animation.
Is this a bad way to create animation at the start?
Stopping All MC'S?
is there anyway using code to just stop all playing mc's and then resume them all?
thanx
Stopping A Mc From Another One...
Whats going wrong with this script?
I try to control a mc from another one:
-----------------------------------------
1. MCName is my variable for the clip!
2. Both mc`s are in a mainmovie!
-----------------------------------------
on (release) {
MyClip = "_root"+"."+_root.MCName;
MyClip.gotoAndStop(2); -> I think here is my mistake!
}
------------------------------------------
Thanks!!
Mikalux
|