AS3 plays all Movieclips in timeline before a given frame?!?

Ok, I am going to try to explain this problem as best I can,
but it is kind of hard to put into words... It seems like a bug to
me, but I could be wrong, maybe this is the way AS 3 supposed to
work.
I have 4 movieClips in my library named
"MC1","MC2,"MC3","MC4" Each with 2 layers and 2 frames, on Layer 2
is just a textfield that says what movieclip it is, Like "MC1"
which spans 2 frames, on layer 1 I have trace commands...
On frame 1
trace("MC1 Start") //this obviously changes to MC2
Start...etc with whatever movieclip i am in
on Frame 2
trace("MC1 Stop")
On the Stage timeline here is what I have
Frames 1-4 -- Blank
Frames 5-10 -- MC1
Frames 10-14 -- MC2
Frames 15-19 -- MC3
Frames 20-24 -- MC4
If in frame one I say--
gotoAndStop(15)
which is where MC3 resides, here's what I get in the output
window:
MC1 Play Start
MC2 Play Start
MC3 Play Start
MC3 Play Stop
If I put:
gotoAndStop(20)
Which is where MC4 resides, heres what output says:
MC1 Play Start
MC2 Play Start
MC3 Play Start
MC4 Play Start
MC4 Play Stop
So in AS3 if you go to a frame number each and every
movieclip before that given frame is loaded into memory and the
first frame plays?!? Is this how it is supposed to work?
The reason I even started examining this, is because if you
have an embedded sound in any of those movieclips and you go to
frame 20, all embeded sounds before that clip will play as well. Am
I missing something here, or is this a bug? Please let me know. If
there are any questions about the problem, I will be happy to
provide an .fla.
Thanks

Thanks for the reply, but this makes no difference. The
results are still the same.

Similar Messages

  • Playing random movieclips via timeline

    I have a project that is eight frames long on my main timeline. On each frame is a different movieclip with nested animation that play for varying lenghts. I want to play the animation on the first frame. Then, once a button is clicked, randomly load one of the movieclips on frames 1-7. Please see the following screenshot for a view of my main timeline.
    On that first frame I have writtent he actionscript command stop(); I have also told each movieclip to stop on the last frame of the nested animation and return to frame 1 of the main timeline so the process can start all over again.
    Within the first movieclip is the following actionscript to define how the button behaves and load the random animation:
    boxButton.addEventListener(MouseEvent.CLICK, onBoxButtonClick);
    var randNum:Number=Math.floor(Math.random()*8)+2;
    function onBoxButtonClick(event:MouseEvent):void {
                        MovieClip(root).gotoAndStop(randNum);
    Everything works perfectly, exactly how I want, EXCEPT, once the button is pressed, my movieclips seem to play at varying speeds. Sometimes they play perfectly, other times they go by in the blink of an eye. Any idea why this is happenning and how to control it? I want everything to play at 24fps.

    La velocidad a la que corre un Movie Clip se debe principalmente a la memoria disponible que tiene la maquina, y los elementos usados por la pelicula.
    frames 1-7
    I don't think it has to do with the memory on my machine- I tried it on a couple different computers.

  • AS3.0 Slider to slide timeline is duplicating first frame. Why?

    I have made a slider that I am having issues with. This slider is to control the timeline of a movie clip when dragged. My problem with this is that It seems to be duplicating the first frame. When I slide the slider to the right it will hit first tick and still display what is in frame 1 .. then on the next ticks it will continue with the rest of the timeline. Any Ideas how to prevent / over come my slider from doing this with the first frame? I have dificulty explaining so I have atached an example.
    Thanks In advance.

    I have tried to upload the .fla but server wont let me.
    here is the code I am using for the slider. It controls numbers_mc that contains frames 1-16 all numbered 1-16 These numbers will be replaced later with images. Thanks
    s.setSize(240,1);
    s.maximum=numbers_mc.totalFrames;
    s.liveDragging=true;
    s.addEventListener(Event.CHANGE,updatemc);
    function updatemc(e:Event)
        numbers_mc.gotoAndStop(s.value);

  • Stop and Play All Child MovieClips in Flash with Actionscript 3.0

    I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
    Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
    I was able to develop the pause functionality by refering to the below mentioned links:
    http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
    http://www.curiousfind.com/blog/174
    Any help in this regard is highly appreciated as i am approaching a deadline.
    I am pasting the code below:
    import flash.display.MovieClip;
    import flash.display.DisplayObjectContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import fl.transitions.*;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import flash.events.Event;
    import flash.events.MouseEvent;
    stop();
    // function to stop all movieclips
    function stopAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            (content as MovieClip).stop();
        if (content.numChildren)
            var child:DisplayObjectContainer;
            for (var i:int, n:int = content.numChildren; i < n; ++i)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        stopAll(child);
                    else if (child is MovieClip)
                        (child as MovieClip).stop();
    // function to play all movieclips
    function playAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            var movieClip:MovieClip = content as MovieClip;
            if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
       movieClip.gotoAndPlay(currentFrame);
        if (content.numChildren)
            var child:DisplayObjectContainer;
            var n:int = content.numChildren;
            for (var i:int = 0; i < n; i++)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        playAll(child);
                    else if (child is MovieClip)
                        var childMovieClip:MovieClip = child as MovieClip;
                        if (childMovieClip.currentFrame < childMovieClip.totalFrames)
          //childMovieClip.play();
          childMovieClip.play();
    function resetMovieClip(movieClip:MovieClip):MovieClip
        var sourceClass:Class = movieClip.constructor;
        var resetMovieClip:MovieClip = new sourceClass();
        return resetMovieClip;
    pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
    function onClickStop_1(evt:MouseEvent):void
    MovieClip(root).stopAll(this);
    myTimer.stop();
    playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
    function onClickPlay_1(evt:MouseEvent):void
    MovieClip(root).playAll(this);
    myTimer.start();
    Other code which helps in animating the movie and other functionalities are as pasted below:
    stage.addEventListener(Event.RESIZE, mascot);
    function mascot():void {
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    var sw:Number = stage.stageWidth;
    var sh:Number = stage.stageHeight;
    // resizing movieclip
    mc1.width = sw/3;
    mc1.height = sh/3;
    // positioning mc
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    stage.removeEventListener(Event.RESIZE, mascot);
    mascot();
    this.mascotAni.y = 100;
    function mascotReset():void
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    stage.removeEventListener(Event.RESIZE, mascot);
    mc1.width = 113.45;
    mc1.height = 153.85;
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    var interval:int;
    var myTimer:Timer;
    // function to pause timeline
    function pauseClips(secs:int, myClip:MovieClip):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myTimer.reset();
      myClip.nextFrame();
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    // function to pause timeline on a particular label
    function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myClip.gotoAndStop(myLabel);
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    MovieClip(root).pauseClips(4.5, this);
    // function to fade clips
    function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to fade clips with speed
    function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to show screen transitions
    function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
    tranFx.addEventListener("allTransitionsOutDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
    // function to show screen transitions inverse
    function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
    var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
    tranFx.addEventListener("allTransitionsInDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsInDone",doneTrans);
    // function to zoom in
    function zoomFx(target_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
    //tranFx.addEventListener("allTransitionsInDone",doneTrans);
    /*function doneTrans(evt:Event):void
      next_mc.nextFrame();
    // Blinds Fx
    function wipeFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
    // Blinds Fx Center
    function fadePixelFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
    tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});

    This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
    Its not an application where the user can interact.
    On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
    Is there anyway where i could send in the fla file?

  • Possible to "Play All"  ?

    I have three long .mov i want to play BEFORE the menu at start up ...and loop.
    Is there a way to play all in iDVD? before the menu?
    ...then i would just add a loop on the last one - and it would go back to the first .mov

    Create a slideshow in iDVD and add the three movie clips to the slideshow as you would still photos. iDVD 08 now allows both stills and movie files to be in a slideshow. Another benefit of this is that the movie clips will be scaled to the TV Safe Area like photos are. Then add the slideshow to the auto play section in the iDVD Map area and set it to loop with the Advanced menu.
    OT

  • Timelines Out of Order On Play All

    I created a DVD with two timelines in Encore 1.0. I created the timelines in the order they need to play back. The resulting DVD reverses the order of the timelines and I can't understand why. I have chapters menu that works perfectly. Any help would be much appreciated.

    I have Encore CS3 and the same problem.  The timelines are written to the DVD in the order I created them, but I need to reorder them.
    Okay, no problem.  Create new timelines and copy and paste from the old to the new.  But wait!  According to the KB I can't copy-and-paste.  At all.
    So basically I have to delete my timelines, recreate them in the proper order, place the assets in the timelines, set up the chapters, and set the buttons up so that they do what they should.  All over again.
    Can someone please confirm that I'm not missing somthing blindingly obvious and that this is indeed the proper technique to reorder timelines, before I go redo 3/4 of my project?
    m.

  • Premiere hesitates to play anything on my timeline, and when it finally does it's all choppy. How do I fix this?

    I am used to using older versions of premiere, and I've never run into this problem. I worked on my video just yesterday and everything was working fine, and today it waits for like a minute or two before playing anything on my timeline. When it does play, the video is choppy, and the controls are unresponsive. I have checked to see if it's a renderer problem but i can only use the mercury playback software, and it has no problem playing any of the media when i view it in the source monitor. I've tried closing the program and opening it again, and I've tried turning my computer off and then back on as well and it still gives me the same problems. I have even go so far as to try one of the back up saved files and it still has the same issue. Can anyone help?

    Hy ... Check your Videocodec for the Preview and Programmonitor... Sometimes it gets hard with h264 so i'm using ProRes 422 ... u find it in the settings of your sequenze, if not u should check how much cache you let premiere use!

  • Play a movieclip once, then go to the next frame on the main timeline

    Hello, I'm sorry for the long topic's title.
    I have an animation I'd like to use as an INTRO in my flash
    movie. I will joint it inside a movieclip, giving it the istance
    name "INTRO". And I position it in the first frame of the main
    timeline.
    How can I make possible that played once my intro (my
    movieclip) the player jumps to the second frame of the timeline,
    named by the istance "HOME".
    Is it possible?
    Thankyou very much for your help,
    and great things.
    Stebianchi

    on intro's first frame place:
    if(!this.played){
    _level0.gotoAndStop(2);
    and on its last frame place:
    this.stop();
    this.played=true;
    _level0.gotoAndStop(2);
    // or this.removeMovieClip(), if this is no longer ever used.
    and if you use this, you don't need the frame 1 code.

  • Is there a way to make the shuffle mode play all songs before repeating?

    Too often, the shuffle songs mode seems to lock into a few artists and albums, and all too often plays songs I heard yesterday (or very recently). I have a large library. Is there a way to make iTunes and/or my iPod shuffle songs to a degree that I get to hear all songs before they are repeated?

    Yes — don't stop the music. Both iTunes and iPods will shuffle your entire library (or playlist), playing each song exactly once before stopping. If you sync your iPod or navigate to another playlist, shuffle will get re-shuffled; if you leave it paused in the middle of shuffling, the shuffle will continue when you start it up again.
    Alternatively, you can create a smart playlist that only contains music you haven't heard in the last N days, then shuffle that instead.

  • Premiere 10 has stop play video audio on timeline

    My premiere element 10 all of sudden stop play audio on my timeline or preview. I have uninstall and reinstall it back to see if that would help. I play the video on other player and the sound plays normally. I use a mac computer and it was working find up untill last night. I also have photoshop and I click a video and it plays thru organizer. Please if someone knows what i should can you help me please.

    When you first import your video, before you do anything, do you have a red line over the video on the timeline?
    If you do have a red line as described above, your project and your video do not match
    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037
    Report back with the codec details of your file, use the programs below... a screen shot works well to SHOW people what you are doing
    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en
    For Mac http://mediainfo.massanti.com/
    http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html
    Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project

  • DVD Menu play all & chapter selections

    I have a client requesting something that he has done with Adobe's DVD authoring system that I don't believe Studio Pro can do, but thought I would put it out there and maybe someone else has figured it out:
    He wants 2 menus (MAIN & SUB MENU) - Main would contain +play all+ or +chapter selection+ buttons. +Play all+ button would start from the beginning and play all the way to the end without stopping. +Chapter Selections+ would take you to a SUB MENU where you could select only certain sections...and here is where it's challenging... _but after that specific selection (or chapter) is finished, that it return to the Sub Menu, rather than continuing on playing the rest of the movie._
    I have done such projects successfully; running time was short enough that it would allow me to make 2 Tracks. one with no chapter markers that would play all the way to the end, and the other with chapter markers indicating to jump back to a sub menu. Obviously this doubles the amount of data and it is not an option for this 95 minute program.
    Am I missing something fundamental? I hope so. Any insight as always is appreciated and I hope that made sense! Thanks again.

    Hi Brittney
    I just saw this post and wanted to ask you a question about stories before I set up my project.
    I'm a little nervous as my project is 95 mins, has 5 Chapters, and three of these Chapters have Sub Chapters and Sub, Sub Chapters (if that makes sense?). Because the project is so long I need to set up up properly.
    I need to be able to either Play All (from start to finish) or go to each Chapter/sub chapter/sub-sub Chapter and come back to the relevant chapter menu each time.
    Is stories the way to go with this? I haven't done such a complex project and have always been able to use 2 tracks (a play all and then chapters) .
    How do I set this up properly? If I put in all the chapter markers in the FCP timeline and export them out into Compressor and then into DVD SP, is this the best way to go?
    How do I then link all my sub chapters, using Story, to come back to the relevant menu, like an end jump?
    I hope this makes sense? Cheers and thanks,
    Margie
    PS I have DVDSP Version 4.2.1

  • AS3 Newbie: Looping movieclips & overlapping movies.

    Hello all this is my first time posting in the forum and your help would be greatly appreciated!
    The issue I am having is that the animation will play fine on my mac but when opened on a Windows OS it just loops and all the movieclips overlapp.
    I am looking for a quick clean code solutiion I used code snippets to control the movie and do not have a knowledge of hand-coding AS.
    Download animation here: http://dl.dropbox.com/u/1491983/frac_animation.swf
    Note:
    It is all set in one scene and one frame all of the movies are nested.
    What I want the animation to do:
    Button 1 activates a series of movieclips, stops when another button is selected and resumes at the begining again when clicked.
    Button 2 Same action ability as button 1
    Button 3 Same action ability as button 1
    This is the snippet based code I am using now:
    step1.arrows1b.stop();
    step1.arrows1a.stop();
    step1.arrows1c.stop();
    step2.arrows1a2.stop();
    step2.arrows1d.stop();
    step2.focusWin.stop();
    step2.waterjets.stop();
    step3.focusWin2.stop();
    step3.gasDot.stop();
    step3.arrowsOut.stop();
    step3.fractures.visible=false
    button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_11);
    function fl_ClickToGoToAndPlayFromFrame_11(event:MouseEvent):void
        gotoAndPlay(1);
        step1.arrows1b.play();
        step1.arrows1a.play();
        step1.arrows1c.play();
        step1.arrows1b.visible=true
        step1.arrows1a.visible=true
        step1.arrows1c.visible=true
        step2.arrows1a2.visible=false
        step2.arrows1d.visible=false
        step2.focusWin.visible=false
        step2.waterjets.visible=false
        step3.focusWin2.visible=false
        step3.gasDot.visible=false
        step3.arrowsOut.visible=false
        step3.fractures.visible=false
    button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_12);
    function fl_ClickToGoToAndPlayFromFrame_12(event:MouseEvent):void
        gotoAndPlay(1);
        step2.arrows1a2.play();
        step2.arrows1d.play();
        step2.focusWin.play();
        step2.waterjets.play();
        step2.arrows1a2.visible=true
        step2.arrows1d.visible=true
        step2.focusWin.visible=true
        step2.waterjets.visible=true
        step1.arrows1b.visible=false
        step1.arrows1a.visible=false
        step1.arrows1c.visible=false
        step3.focusWin2.visible=false
        step3.gasDot.visible=false
        step3.arrowsOut.visible=false
        step3.fractures.visible=false
    /* Click to Go to Frame and Play
    Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and continues playback from that frame.
    Can be used on the main timeline or on movie clip timelines.
    Instructions:
    1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
    button_3.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_13);
    function fl_ClickToGoToAndPlayFromFrame_13(event:MouseEvent):void
        gotoAndPlay(1);
        step3.focusWin2.play();
        step3.gasDot.play();
        step3.arrowsOut.play();
        step2.arrows1a2.stop();
        step2.arrows1d.stop();
        step2.focusWin.stop();
        step2.waterjets.stop();
        step2.arrows1a2.visible=false
        step2.arrows1d.visible=false
        step2.focusWin.visible=false
        step2.waterjets.visible=false
        step1.arrows1b.visible=false
        step1.arrows1a.visible=false
        step1.arrows1c.visible=false
        step3.focusWin2.visible=true
        step3.gasDot.visible=true
        step3.arrowsOut.visible=true
        step3.fractures.visible=true

    in your situation, you are going about it the correct way.
    There is really nothing you can do, and you won't even see a
    performance drop, so keep it up.
    "I'm sorry but I'm not very good in speaking and writing
    english."
    I thought you did very well.

  • Playlist -play all time lag

    Playlist and play all work well but for my taste there is too much time between the files being played--too much black on the screen before it goes to the next video. Is there a way to shorten the time lag?

    I had hoped to have a button for "Play Movie", and then others for several chapters within the edit.
    With the play list I get a Jerk and slight pause between chapters while playing the play list, so I can't use a Chapter Playlist to play the whole movie.
    This means I can't have any chapters to refer to on the DVD, without creating an entirely new timeline that has one chapter, as this mean two timelines on the DVD, of the same edit, which is too big to fit on the DVD.
    The six chapters are fed into one another with the End Action, leading to the next chapter.
    Using XP SP2
    ASUS MB, with 2GB
    Playing the Timeline is fine, is just when using the Chapter Playlist. The Jerks and Pauses between chapters is worse on Preview.

  • Jumping from Main Timeline to a specific frame of a MovieClip

    Hello there!
    I'm a begginer with Flash... and I am attending a course of fundamentals of Flash... so I apologize if my doubt is a too obvious answer to some of you.
    The situation is as follows:
      I'm using Action Script 2.0 --- I'm obligated to in the course I'm attending.
      I have a main timeline that has 3 frames. On the 2nd frame I have a movieclip named mc_nbr. On the 3rd frame I have a button "voltar" that when pressed I want it to "Go and Stop/Play" at frame 3 of the movieclip (that is embedded on frame 2 of the main timeline).
    I used the folowing code for the button btn_voltar:
    on (press)
        _root.mc_nbr.gotoAndStop("3");
    I tried as well with
    on (press)
       this.mc_nbr.gotoAndStop("3");
    None of them works!
    I tried to see wheather the button even works and it does.
    I included a input text box and the stament before the code shown above  like the one that follows:
    feedback.text = "Pressionei o botão!";
    So the part missing (and the important one) is jumping to the movieclip. I can't figure out how to do it !!!
    I uploaded the "project" at http://www.megaupload.com/?d=A6M581US
    Could anyone, please help me.
    Thank You for your feedback.

    Ron ron,
    Thank you for your help... but either I'm not following You or I'm doing something really wrong.
    I tried what you suggested but it doesn't solve my problem...
    Were we talking about the same button ? (btn_voltar, from the 3rd frame)
    Could you take a look at my file in http://www.megaupload.com/?d=A6M581US   ??

  • "Play all" with all individual time lines?

    I am trying to see if I can create a "play all" function that would play through all of my individual time lines. I am trying to avoid having to go back to premier and make another sequence that has all my footage on one sequence.
    Any thoughts??
    Thank you in advance.

    And you can create Playlists, that say play Timeline 01, 03, then 06, and return to the Menu. Same thing with the order. It could play Timeline 05, 03 then 01, before return. You can order the Playlist to suit your needs. Just do each separately, and name them uniquely.
    I often have a "Play All" Playlist, where the Timelines play in order, 01 through XX, and then other Playlists that perhaps feature just one person, and the Timelines only reflect "scenes/chapters" in which that person appears.
    Playlists are wonderful and useful tools.
    Good luck,
    Hunt

Maybe you are looking for

  • Error connecting to a table in a database

    I am trying to insert user login script and have an error. Can anyone tell me why Dreamweaver MX 2004 cannot connect to the tables in my databases? I am using MS Access 2002 and there are tables in the databses. I can supply a jpeg of the error if ne

  • Can't access songs in iTunes

    This has happened before and I don't remember the fix, but my wife has not been able to access any of her purchased music. When she double clicks a song, she's prompted for the password to an account that hasn't been used in many years. This may have

  • How do I make Firefox automatically display my homepage when opening a new tab (instead of a blank page now)?

    How do I make Firefox automatically display my homepage when opening a new tab (instead of a blank page now)? (version 3.6.6 on a Windows7 64-bit rig)

  • Need Help Making This Text Effect

    Can someone please assist on how I can create this text effect with the thick line surrounding the text phrase at this link? http://www.flickr.com/photos/lalogotheque/2801883641/in/set-72157608260902848/ I have the font already and I'm using Illustra

  • Organising large numbers of events

    Organising Events.... Like a lot of things when it comes to Apple things are easy when they're easy but become a nightmare when there not. One example a friend uses I photo which was fine when she had 10/15 'events' but things quickly became unmanage