Controlling the swf timeline (swf is in captivate)

i am making a swf (in Flash) that I want to be sequencial. in other words i have a (for example) expanding and shrinking sphere in frame one. then in frame two i have an arrow that will point at the sphere. then in frame three I have a 'hi' blinking. I want it to go 'play frame one' then have some audio over top, then when it plays the next audio i want it to go to frame two. when that audio is over i want it to go to frame three and play more audio.
how do i do this?
do I control the frames via captivate, or do i control the captivate via the swf?

I would think that you could create individual swf's and bring each one into your timeline.  I did not see that the student was interacting at all, so you could tie audio to the objects (object audio) as they are introduced to the stage.
My first thought.

Similar Messages

  • Controll the ROOT timeline from externally loaded movie clip?

    does anyone know how to controll the root timeline from an
    externally loaded movie clip?
    I have loaded a movie clip, which has buttons on it that I
    would like to controll the main original website timeline with.
    something like this.parent.parent?
    thanks a lot
    harky

    feedmeapples <[email protected]> wrote:
    > does anyone know how to controll the root timeline from
    an externally
    > loaded movie clip?
    >
    > I have loaded a movie clip, which has buttons on it that
    I would like
    > to controll the main original website timeline with.
    >
    > something like this.parent.parent?
    _root.doStuff;
    Freundliche Grüße,
    Franz Marksteiner

  • Toolkit for CreateJS: How to control the main timeline from outside the canvas.

    Hey Everyone,
    I'm currently trying to do something simple, but my animation breaks whenever I attempt to change my code. I have created a basic animation in Flash where an object moves from the left side of the canvas, to the right, and then loops from the last frame to the first frame. Nothing else. The animation is simply put on the main timeline. I exported the animation with Toolkit for CreateJS through Flash's extension and the animation runs as it should. I am trying to start and stop (restarting from the first frame) the animation with mouse over and mouse off events. I want the events to fire when moused over/off a div OUTSIDE the animation's canvas tag. Is this possible with CreateJS? I'm trying to figure out how to control the main timeline without being inside the canvas tag.
    Example HTML:
    http://www.thephotoncore.com/testing/example_test.html
    Example Code:
    <section id="container">
      <canvas id="canvas" width="550" height="400" style="background-color:#cccccc"></canvas>
      <section id="animation_control">
        <p>Roll over to start and stop animation.</p>
      </section>
    </section>
    Thanks again for the help!
    -DJ

    Hi DjPhantasy5,
    All movieclips on the stage are children of the stage,
    So on the "mouseover" all movieclips on the stage could be stopped with stop and on the "mouseout" all children could be restarted with gotoAndPlay like this:
    function Stop()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("stop" in child)
                                            child.stop();
    function Restart()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("gotoAndPlay" in child)
                                            child.gotoAndPlay(0);
    See http://www.liauw.nl/forums/adobe/djfantasy5/index.html
    But it is also possible to expose "ball1", for example, by adding it to the document.
    This can be done by adding code to "ball1" like so:
    /* js
    document.ball1 = this;
    Then the stopping of the animation would look like:
    function Stop()
         if ("ball1" in document)
              document.ball1.stop();
    etc.
    Have fun!
    Ronald

  • How to control the main timeline from within a symbol?

    I have a small world map as a symbol called "verden" and I want the user to click Europe, Asia, or Africa and jump to named labels in the main timeline.
    http://www.dagbladet.no/grafikk/neshorn/neshorn.html
    On the main timeline a have the label "intro" with a Stop action and the label "europa". At label "europa" I have a symbol also called "europa" which has a display of None at label "intro" and On at the label "europa".
    The animation never goes to label "europa"
    I have this code on europa in the symbol "verden" :
    // insert code for mouse click here
    sym.getComposition().getStage().getSymbol("europa").play("europa");
    The files are on Dropbox here
    Update, now it works:
    sym.getComposition().getStage().play("europa");

    Hi Bill,
    There are plenty of threads on here about scope, but here's one way to create a global variable:
    // code on Stage.compositionReady
    sym.myGlobalVar = 1;
    Then, anywhere in your project, you can check/set that var like so:
    sym.getComposition().getStage().myGlobalVar = 2;
    And here's one way to create a global function:
    // code on Stage.compositionReady
    sym.myGlobalFunction = function(){
              console.log('myGlobalFunction');
    Then, anywhere in your project, you can call that function like so:
    sym.getComposition().getStage().myGlobalFunction();

  • Using an mc to control the main timeline with multiple scenes

    OK, I have a main timeline that has 27 different scenes.  I have a movie clip that is an "on call" navigation menu for the main timeline.  I can call the menu once, and it will go to the first place I want it to go.  However, I cannot seem to figure out how to get it to go away to be able to call it again.  I get the "must be child of caller" error.  Any thoughts on how to get rid of it each time I use it?

    A button is clicked which calls the following AS3 code:
    MovieClip(this.root).addChild(myMenu);

  • Controlling the root timeline from inside a MovieClip

    [preface] I'll apologize in advance. I'm a designer, not a
    developer. I know very little about actionscript so if you
    can help me out, please pretend like I know nothing.
    [/ preface]
    I just need actionscript to check the value of a variable
    when the end of a movie clip is reached and then call an action.
    Here's what I've got and it doesn't work. Please don't laugh.
    if (p == 1){
    tellTarget (_root) {
    play();
    else if (p == 0){
    stop();
    (the "stop" on the "else if"
    is referring to the movie clip's timeline, not the root
    timeline... in case you're wondering)
    Any help would be greatly appreciated. Thanks!

    No it's not a school project. Good guess though. It's
    actually a self-promo piece for the ad agency I work for. I'm an
    art director expanding my horizons. I would take a class or run
    through one of the good actionscript books but unfortunately, I
    don't have time.
    Thanks for the help again kglad.
    btw, I've used tellTarget successfully in a few projects in
    the last few months. I'm using Flash 8.

  • CONTROLLING THE TIMELINE FROM EXTERNAL MC

    I have a website
    http://www.charlesmarsden-smedley.com/index1.html
    that I am building.
    In the projects section, if you navigate to Projects >
    Museum > Tower of London. You will see 'more information' link.
    This loads an external Movie clip for the text feild. I would
    like to make the 'more information' dissappear when it is clicked
    and the text appears in the target. The way I thought is best is to
    move the timeline on one frame and just remove the link, but when I
    click on 'back to images' link it reloads the images (external MC)
    but the 'more information' link is still hidden.
    How can I control the main timeline from an extrernal movie
    clip?
    Am i being rediculously long about this operation?
    thanks
    Harky

    maybe you didnt understand correctly.
    the 'more information' link loads an external movie clip (the
    text) into the right side of the page.
    At the bottom of this movie clip is a green link 'back to
    images' this button sits within the movie clip. So my problem is
    making this button controll the main timeline (as its root is the
    movie clip root, not the main web page root)

  • Controlling a Movie Clip on the Main Timeline from a loaded SWF?

    Is it possible to control a MovieClip on the main timelne from another loaded clip?
    I see posts that control loaded clips, but most are all from the loader in the main timeline.  I have a moviclip on the main timeline that I want to make visible or invisible depending on what keyframe is playing in another loaded swf.
    If I try to call the movieClip from the loaded SWF I get "error #1119.  Access of possibly undefined property...." because it doesn't exist in the loaded SWF, just the main timeline. 
    The old AS2 way just used "_root".  Since "_root" doesn't exist any more, how do you control items on the main TimeLine from a loaded SWF?

    I am not clear what you mean because you are saying you are trying to target a movieclip that does not exist where you are trying to target it.
    Try using a trace to see what you are targeting when you you target the MovieClip(parent.parent)....
    trace(MovieClip(parent.parent));
    The other approach I mentioned earlier is the more OOP-correct approach if you would rather try that way.  Here's a rough outline of it...
    AS3 - Dispatch Event
    http://forums.adobe.com/thread/470135?tstart=120
    Example:
    Add something to trigger the event in the child (your loaded swf):
    dispatchEvent(new Event("eventTriggered")); (
    if dispatchEvent problem, see: http://www.kirupa.com/forum/showthread.php?p=1899603#post1899603)
    In your loading/parent swf, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf.
    // event handler triggered when external swf is loaded
    function loaderCompleteHandler(event:Event) {
        MovieClip(event.currentTarget.content).addEventListener("eventTriggered", eventHandler);
    function eventHandler(event:Event):void {
        trace("event dispatched in loaded swf");
       // this is where your main file can set the visible property of your movieclip

  • Control the property of an object in main stage from a loaded swf timeline

    please someone help me here, im loosing my mind
    i have a UILoader that loads an image from an xml list when you click its thumbnail ( in its thumbnails mc on mainstage aswell)
    thing is, i have another UILoader on the layer above that loads in a swf ( a slideshow that fades in and out the pictures when they change to the next,
    with all the coding on frame 1, frame 2 only has a stop and some code for when the mouse is idle for 5 secs it goes back to frame 1)
    so when you go to "portraits" it takes you to frame "x" where the slideshow ( loaded external swf ) starts playing automaticly right,
    if i click any thumbnail the slideshow goes to frame 2 ( wich is perfect and the mouse idle thing i wanted works great ) the ONLY THING IS
    after the slideshow runs by default for the first time ( i enter the category portraits )
    and i click any thumbnail ( moving slideshow swf to frame 2 enabling mouse idle event )
    and the mouse is idle ( so it does the event and starts playing the slideshow again ( goes back to frame 1 ) )
    I CANT MAKE THE UILOADER OF THE THUMBS IMAGE TO DISSAPPEAR!!!
    i have tried everything i can think of and everything i have read trying to adapt it with what i know,
    im no guru at this i reeeeally need some help
    THANK YOU  SO VERY MUCH ! 

    and where would i put the remove.simpleScreen ( simpleScreen is the loader i would want to remove )
    would it be on the external swf on frame 1 where the slideshow plays?
    or in the main timeline's category's frame?
    the problem ( that i see ) is that both loaders are on the same frame ( different layers tho )
    so if i put a the remove simplescreen there it wont show me the pictures when i click the thumbs
    or could i make it so that it removes it BECAUSE its playing on frame 1 ?

  • Control where to start and stop an SWF file inserted into a Captivate 6 slide.

    I am working on a project in which I need to insert SWFs on to slides in Captivate 6 and I've reached a hick-up. Some of the SWFs only need to start play at a specific frame (which is not necessarily the beginning of the SWF) and stop play at a specific frame (which is not necessarily the end of the SWF).
    Is there a way, by use of "Execute Advanced Actions" or "JavaScript", to control the play of a SWF, inserted on a slide, so that it starts and stops at desired frames?

    I think it is almost there now. Thanks for putting me int he right direction. You may be able to offer observations on my coding:
    this.onLoad = function() {
        stop();
    this.onMouseMove=function()
        // Test current mouse position is within the dimensions of the image
        if(_root._xmouse >= 0 && _root._xmouse <= 130 &&
           _root._ymouse >= 0 && _root._ymouse <= 420)
            // It is safe to play the animation as the mouse is within the
            // stage area
            play();
        else
            // We must stop animating and revert back to the first frame
            gotoAndStop(1);
    this.onRollOut = function() {
        stop();
    http://www.trucklesoft.co.uk/silcox/lounge.html

  • Controlling the sound of the external loaded SWF

    I  have a Loader that loads external SWF. The external SWF has sound.
    I'd like to stop, pause and play the sound.
    How?
    Please help me !
    var loader:Loader = new Loader();
    loader.load(new URLRequest("moora.swf"));
    addChild(loader);
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, on_loader_complete);
    var mc:MovieClip;
    var st1:SoundTransform = new SoundTransform();
    var sn:Sound = new Sound();
    var ch:SoundChannel;
    var offset:Number = 0;
    function on_loader_complete(e:Event):void
         mc = MovieClip(loader.content);
         play_btn.addEventListener(MouseEvent.CLICK, on_play_btn);
         pause_btn.addEventListener(MouseEvent.CLICK, on_pause_btn);
         stop_btn.addEventListener(MouseEvent.CLICK, on_stop_btn);
         trace(mc.totalFrames);
    function on_play_btn(e:MouseEvent):void
         mc.play();
         st1.volume = 1;
         mc.soundTransform = st1;
    function on_pause_btn(e:MouseEvent):void
         mc.stop();
         st1.volume = 0;
         mc.soundTransform = st1;
    function on_stop_btn(e:MouseEvent):void
         mc.gotoAndPlay(1);
    mc.soundTransform = st1;
    This only mute the sound only and the sound is still runnung.

    The loaded external SWFs are AS3. The sound is on the timeline. Some SWFs use loaded sound, Here is its code:
    var snd:Sound = new Sound();
    var req:URLRequest = new URLRequest("moora.mp3");
    snd.load(req);
    So, how can I control the sound (Stop, Pause, resume).

  • How can I reference the main timeline on a swf once it was loaded into another?

    I have an swf with some custon animation functions using actionscript 3. I'm refering to the main timeline with Movieclip(root) and it works just fine.
    However, this swf is going to be loaded inside another (a custom player), and when that happends, everything stops working.
    I think it's because the Movieclip(root) is now referencing to the loader swf and not the loaded anymore, but I just can't find any information on how to fix that.

    This is basically what I´m doing here:
    I'm placing this code on frame 1, and calling the function textAnimate() whenever I need to insert some text.
    // This is a variable I created for tracking the timeline
    var base:MovieClip = MovieClip(root);
    function textAnimate(movieName:String, espera:Number):void {
              //var espera:Number = 1; //Waiting time
              var objeto:MovieClip = base[movieName]; //Variable to select the object
              var posFinal:Number = objeto.x; // Object position
              var posEnter:String = "-160"; // Animation start (relative)
              var posExit:String = "+160"; // Animation end (relative)
              // enter animation
              TweenMax.from(objeto, 1, {x:posEnter, alpha:0, blurFilter:{blurX:40}, ease:Back.easeOut});
              //call exitAnimation() after X seconds
              TweenMax.delayedCall(espera,exitAnimation);
              //exit animation
              function exitAnimation() {
                        TweenMax.to(objeto, 1, {x:posExit, alpha:0, blurFilter:{blurX:40}, ease:Back.easeIn});
    The swf works fine, but once it´s loaded into the player, nothing works anymore. Unfortunately, I don't have the code for the player, and can't change anything about it... :/

  • Trouble Playing A loaded 'SWF' file in the pain timeline

    Hey there. I have created a presentation that loads
    interactive SWF movies into a 'target' movie clip on the main
    timeline.
    As you progress through the presentation different SWF movies
    are loaded into the presentation. And this in turn allows me to
    change the presentations content quickly and easily for different
    clients.
    These SWF's use some of the flash preloaded content objects
    like combo box's and the like.
    However when these SWF's are called into the main
    presentation they cease to work properly.
    They work fine when tested independently of the main
    presentation.
    Does anyone know how I may be able to get these SWF's to work
    properly?
    Cheers Fletch

    The first thing to do is check the scoping in your loaded
    SWF. Any references to _root, for example, mean something different
    once the SWF is loaded into your wrapper movie.
    Also, some of the V2 components don't work properly when
    their SWF is loaded into another SWF. There's a Tech Note and easy
    workaround here:
    http://www.adobe.com/go/tn_19278
    Good luck!

  • Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Try the troubleshooting tips here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    You may have something in your project on one of the slides that is tripping up the publishing process.

  • How do I control the location of an external swf?

    Hey again,
    Sorry this probably seems rudimentary, but how do I control
    the location of a swf I load into my main movie? I'm trying to load
    in a slideshow and am having a hard time getting it where I want it
    to be. Thank you so much in advance. Again sorry for the ignorant
    posts.
    Dave

    tyrione wrote:
    > Hey again,
    >
    > Sorry this probably seems rudimentary, but how do I
    control the location of a
    > swf I load into my main movie? I'm trying to load in a
    slideshow and am having
    > a hard time getting it where I want it to be. Thank you
    so much in advance.
    > Again sorry for the ignorant posts.
    >
    > Dave
    >
    the only way to control it is to define the right path to
    your loaded files.
    There really isn't any other way. If the file is in a folder,
    it has to be in
    your path folder/name.swf
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for