Parent timeline control child swf

Hello

I need help and tried trolling the forums and web site for hours, without result, where my post here.

Here's my situation:

I have a captivate file that is essentially like a skin, containing headings, buttons and explanatory text, which is the parent swf file.

I then save a software simulation in another captivate file which is the child swf file. I then publish this as a swf file. This swf is then imported into the original file from captivate with text instructions for software simulation.

Is it possible that when a button is pressed inside the software simulation, that the text of statement in the parent file may change? Ideally by scrolling the text upwards, or by an order of hide/show, where display instructions will be linked to the next step and automatically indicates the next step they press a button in the child swf file.

I hope that makes sense. If that sounds confusing, I will try to explain the parts that don't make sense.

I hope that someone out there will have an answer for me, because I'm having no luck try for me right now.

Thank you all

See you soon

Scott.

Hello

Totally agree with rod on inclusion not the SWF file created by CP in a CP - file.If you want to have the sims in your CP file to a smaller size, it is also possible in this way:

  • create each sim to a different file at the resolution they have desired
  • resize the file to the final resolution of the main file; You can use a master slide, possibly with additional information like logo... maybe my blog post about slide masters Knockout can be useful: create and use a master Knockout slide
  • Copy / paste the sim back in the main file

Lilybiri

Tags: Adobe Captivate

Similar Questions

  • An external swf movie clip can control the action on the parent timeline?

    I have an instance where I would like to a movieclip inside an external swf file to control the action on the parent timeline... any ideas? It is a drive function? Here's my attempt...

    swf import external file 'entrypage"using movieclip empty 'container' on the parent timeline main
    _root.createEmptyMovieClip ("container", 1);
    container.loadMovie ("entrypage.swf");

    feature of swf external files movie clip "na9" appearing inside the "testnav" on the main timeline of the swf files external...
    testnav. NAV9.onPress = function() {}
    _parent.gotoAndStop ("Theend"); clicking the movieclip above, he "end" label for the parent timeline
    }


    Am I close?

    You can send me your files to [email protected] to see what the problem could be

  • How to get a SWF that is responsible for controlling the parent timeline?

    I have a SWF that loads an external swf. I want the external swf (that has been loaded only), interact with the timeline of the swf file that just load it. I tried MovieClip (root). or MovieClip (parent). but they give me errors. How can I use as3 in the external swf so that it interacts correctly with the parent?

    the main timeline in the swf file that is loaded, you can reference the main timeline in the swf loading using:

    MovieClip (parent.parent)

  • Control loaded swf on the main timeline

    Hello

    I'm working on loading external swf files for ios. I am able to load swf files and assembled visible or invisible in different settings. I have trouble controlling the swf files loaded on the main timeline. Specifically, I would like to have a button on the main timeline, that when you click on will move a swf loaded to frame 1.

    Here is a code that loads a swf file:

    var myLoader1:Loader;

    var loaderContext1:LoaderContext = new LoaderContext (false null, ApplicationDomain.currentDomain),

    if(myLoader1 == null)

    {

    myLoader1 = new Loader();

    addChild (myLoader1);

    }

    myLoader1.load (new URLRequest("folder/file1.swf"), loaderContext1);

    myLoader1.visible = true;

    backbutton.addEventListener (MouseEvent.MOUSE_DOWN, backbutton1);

    function backbutton1(myEvent:MouseEvent):void {? myLoader1.gotoAndStop (1) ;}}  (this line does not work)

    (Once I load file1.swf, in the file1.swf I click a next button to move on to different periods.) My question is: hHow do I code the "backbutton" on the main timeline so that it causes the file1.swf to go to frame 1?)

    Thank you for your help.

    After loading is complete (and assuming that you load an as3 swf), you can use:

    MovieClip (myLoader1.content) .gotoAndStop (1);

  • controlling the timeline with a SWF loded

    Hi, I have been here before and reviewed the response that helped me last time but it doesn't seem to work for this example.

    I have a loaded swf file, which is a short animated introduction I use the addChild method.

    I would like simply the timeline to a label "menu" after that that she played. It's the CRC on my main timeline:

    Stop();
    import flash.display. *;
    import flash.events.Event;
    import flash.media.SoundMixer;

    var Xpos:Number = 0;

    var Ypos:Number = 0;

    var swf:MovieClip;

    var loaderA:Loader = new Loader();
    var reqA:URLRequest = new URLRequest ("Nu_flute_intro.swf");


    loaderA.load (reqA);
    loaderA.x =-100;
    loaderA.y =-50;

    holder.addChild (loaderA);

    loaderA.contentLoaderInfo.addEventListener (Event.COMPLETE, loadHandler);

    function loadHandler(event:Event) {}


    holder.addChild (loaderA);

    trace (loaderA);

    }


    function eventHandler(event:Event):void {}
    holder.removeChild (loaderA);
    holder.gotoAndPlay ("menu");
    }

    This part is commented out for now
    holder.addEventListener (MouseEvent.CLICK, goMenu);
    //
    function goMenu(e:MouseEvent):void {}
    SoundMixer.stopAll ();
    holder.removeChild (loaderA);
    gotoAndStop ("menu");
    //}

    At the end of the timeline of the swf, I have this code:

    Stop();

    dispatchEvent (new Event ("eventTriggered"));

    part of the following is a recent raise an error: TypeError: Error #1034: Type constraint failed: cannot convert flash.display::Loader@3b9d53c9 to flash.display.MovieClip.
    flute / frame450)
    MovieClip (parent.parent) .nextFrame ();

    Thanks for the help

    Attempt to commit it at whatever level of memory to save the future aggravation... 1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...
     
    n ' is not in the display list
    n ' is not have an instance name (or the name of the instance is misspelled)
    n ' is not in the frame where this code tries to talk to her
    -is animated in place, but is not assigned the name of the instances of each keyframe for her
    -is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).
     
    To help you resolve the error... If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

  • Parent child SWF SWF

    d

    use:

    var child_loader:Loader = new Loader();

    var req:URLRequest = new URLRequest ("child.swf");

    child_loader. Load (req);

    child_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, done);

    function done(e:Event):void {}
    addChild (child_loader);
    MovieClip (child_loader.content) .callFunction (' "child has loaded" ');
    }

  • Apple: Can allow you parents more control over the access of children iTunes?

    Parental restrictions on mini iPad 16 GB of my granddaughter running iOS 9.3.5 (original version) do not seem to allow parents to control properly the child access iTunes. We have music, news and Podcasts (iTunes), reserved for the 'Clean' as opposed to 'Explicit', but he is always happy that we find unacceptable.

    Apple or someone you suggest a way to further control access of the child to the iTunes app?

    If not, then... Apple - there must be a way to create a framework between Clean and Explicit. You please solve this problem?

    There are other parents who have the same problem?

    Thanks for your thoughts / feedback.

    Apple isn't here.

    This is a support forum user community product technique.

    Aside from Apple employees who are specialist community technical and support the community moderators, we are all users here, just like you.

    If you want to leave a comment on the ability of your iPad to have parental controls more complete, leave your comments here.

    http://www.Apple.com/feedback/iPad.html

    Good luck!

  • Flash cs6 3.8 AIR app questions: can not load child SWF files

    Hello - I have a flash for ios application that loads external swf child on a button click; When I use AIR 3.8 I can't load. Everything works fine on the generator to preview, but when I publish the device, none of the child SWFS play; It's very strange! Help, please... I don't really know why it doesn't work.

    Here is the code on the main timeline to load the child swf file:

    Start button

    start_button_TRI_herrerasaurus.addEventListener (MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_04_3, false, 0, true);

    Import fl.display.ProLoader;

    import flash.events.Event;

    var fl_ProLoader_04: ProLoader;

    This variable keeps track of if you want to load or unload the SWF file

    var fl_ToLoad_04:Boolean = true;

    function fl_ClickToLoadUnloadSWF_04_3(event:MouseEvent):void

    {

    If (fl_ToLoad_04)

    {

    fl_ProLoader_04 = new ProLoader();

    fl_ProLoader_04.load (new URLRequest("dinofilms/triassic_herrerasaurus.swf"));

    fl_ProLoader_04.contentLoaderInfo.addEventListener (Event.COMPLETE, onComplete_04)

    addChild (fl_ProLoader_04);

    fl_ProLoader_04.x = 0;

    fl_ProLoader_04.y = 144;

    }

    on the other

    {

    If (fl_ProLoader_04! = null) {}

    removeChild (fl_ProLoader_04);

    fl_ProLoader_04.unloadAndStop ();

    fl_ProLoader_04 = null;

    }

    }

    fl_ToLoad_04 =! fl_ToLoad_04;

    }

    function onComplete_04(e:Event):void {}

    e.currentTarget.content.addEventListener (Event.ENTER_FRAME, OEF_04);

    }

    function OEF_04(e:Event):void {}

    If {(e.currentTarget.currentFrame is e.currentTarget.totalFrames)

    e.currentTarget.stop ();

    e.currentTarget.removeEventListener (Event.ENTER_FRAME, OEF_04);

    removeChild (fl_ProLoader_04);

    fl_ProLoader_04.unloadAndStop ();

    fl_ProLoader_04 = null;

    }

    }

    for air for ios 3.6 +, you need TO report a loadercontext even if there is no actionscript in the loaded swf file:

    var loader: Loader = new Loader();

    var lc:LoaderContext = new LoaderContext (false null, ApplicationDomain.currentDomain),

    Loader.Load (new URLRequest("dinofilms/cretaceous_ankylosaurus.swf"), _lc);

  • ContainerController issue when load child swf

    Hello

    I have swf parent (test.fla). Simply, it will load a child swf (child.fla).

    Parent once loaded the child swf file I can acess point of the child and its clips.

    Question:

    When I manufacturer a variable like "ContainerController", the swf parent not able to gain access to clips of the child. How to solve this problem?

    When I do not include "ContainerController" in child swf, I got the track of the parent as a class (its what I expect)

    [object MainTimeline]

    -> MC

    MC1->

    When I include "ContainerController" in child swf, I got the track of parent (litigation) class

    [object MainTimeline__Preloader__]

    instance3->

    instance5->

    Here you can get the demo files for your reference: https://rapidshare.com/files/3986374440/test.rar

    Thank you

    Siva

    Click file > publication settings > advance settings actionscript (key next to the drop-down list icon script) > library > default connection > merged with code > ok > retest.

    In addition, here are all the ways to communicate between two files, as3, http://kb2.adobe.com/community/publishing/918/cpsid_91887.html

  • Child .swf problem

    Hello, I was hoping that someone may be able to help me with a problem I've been and unloading external .swfs, ill try to explain this better than I can.

    I have two .swf files, that are connected to an external .as file. One is the main, the other is the child being loaded in the main .swf file. The user clicks a button in the .swf main trigger of a function contained in the .as file that load child .swf.

    Now, I have a Boolean variable in the child .swf, which gets the value true to a certain part of the movie, this variable is sent in the .as file then taken the start of a function using ENTER_FRAME to unload the movie (unloadAndStop ()). The problem, I think I'm having is the sprite container (which is created in the .as file), is not recognized as a child, so will not unload. However if I create a CLICK MouseEvent and point it at the sprite unloadAndStop() function works well, but I would like to avoid that if possible. That's what I have in the .as file:

    (endFind is the Boolean value is set in the child .swf and the loadSWF() is called by a button in the main .swf)

    import flash.events.Event;

    var url: String = "objectSearch.swf";
    var _Req:URLRequest = new URLRequest (url);
    var _swfLoader:Loader = new Loader();
    var _swfContent:Sprite = new Sprite();
    var endFind:Boolean;

    function loadSWF (): void {}

    _swfLoader.load (_Req);
    _swfContent.addChild (_swfLoader);
    addChild (_swfContent);
    setupListeners (_swfLoader.contentLoaderInfo);
    }

    function setupListeners(dispatcher:IEventDispatcher):void {}
    dispatcher.addEventListener (Event.COMPLETE, addSWF);
    }
    function addSWF(event:Event):void {}
    event.target.removeEventListener (Event.COMPLETE, addSWF);
    _swfContent = event.target.content;
    }

    function unloadSWF (): void {}
    _swfLoader.unloadAndStop ();
    trace ("unloadSWF:", _swfLoader.unloadAndStop ());

    //!!!!!! removeChild throws ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.//!

    removeChild (_swfContent);
    _swfContent = null;
    }

    Adding a mouseEvent to sprite seems to work ok
    _swfContent.addEventListener (MouseEvent.Click, endCheck);
    function endCheck(e:MouseEvent) {}
    trace ("Click");
    unloadSWF();
    }
    This is not because of the method unloadAndStop().

    addEventListener (Event.ENTER_FRAME, endCheck);
    / * function endCheck(e:Event) {}
    {if(endFind==true)}
    unloadSWF();
    }
    }*/

    If you need more information please let me know. I really appreciate everybodys help and comments.

    A better way to deal with children is to listen only for them to say something and then take action.  What that means, it's basically the child to have just send an event and have the parent look for him so that he could take action.  So for this you need to assign a listener to the object after it has loaded...

    function addSWF(event:Event):void {}

    event.target.removeEventListener (Event.COMPLETE, addSWF);

    _swfContent = event.target.content;

    MovieClip (_swfContent) .addEventListener ("unloadMe", unloadSWF)

    }

    and set the unloading feature to be the event handler...

    function unloadSWF(evt:Event):void {}

    .. .etc

    }

    and in the child swf just got it dispatches the event your listener expects when it must be unloaded.

    dispatchEvent (new Event ("unloadMe"));

  • How to call a function of child swf

    Hello

    Here is that a parent SWF load a child swf file and there is a button/movieclip in child swf for example childBtn_mc, I now want whener I click on this childbtn_mc in parent SWF (like child swf is loaded into a parent swf file) thanks to a function in the parent swf.

    for ex.

    child AS SWF:

    childBtn_mc.onRelease = childBtnClicked;

    function childBtnClicked() {}

    trace ("call of the child");

    }

    SWF parent AS:

    loadMovie ("child.swf");

    chilBtn_mc. onRelease = childBtnClickedUsingParent;

    function childBtnClickedUsingParent() {}

    trace ("parent call");

    }

    ::::::::::::

    After compling the file when I click on childBtn_mc, trace = > call of the child

    and I want no trace of "the call of the parent.

    Help, please.

    Thank you.

    its DONE... Thanks kglad

    parent swf AS:

    _root.createEmptyMovieClip("page2MC",2);

    loadMovie ("test2.swf", "page2MC");

    page2MC.greenbtn.onRelease = parentFunction;

    function parentFunction() {}

    trace ("parent of child movieclip function call");

    }

    :::::::::::

    in children such AS:

    greenbtn.onRelease = _parent.parentFunction;

    Thank you.

  • Control a .swf with a different .swf file file

    Hello-

    Can one.swf file control the actions of another on the same HTML page .swf file?

    Example:

    FloatingMenu.swf would control the timeline in MainStage.swf

    Thank you-Ben L

    Yes.

    You can always use localconnection to communicate between the two.

  • Private class data accessible parent in the child's class?

    Hello!

    I thought this would be obvious, but my search thing fails to me.  I hope that someone would be kind enough to answer my question LVOOP of beginner.

    I have a a parent class.  This parent class contains a set of private class data.  I have Setup all the data accessor methods.  I create a child class that has functions that need to access the data stored in its parent category.  His legacy is defined, but when I try to separate data from class all that I can't do are what is configured in the cluster of data of the child class.

    I watched a video and it seemed that the DataSet magically appeared and is accessible via the methods of children.  What Miss me?

    Thanks for the input!

    -nic

    To access the data of the parent in the child's class class, you must use the accessor of reading methods you created for the parent class get the parent class data (you must use the same accessor methods in the methods of the child because all the data of the class is private in LabVIEW). I hope this helps.

    -RW

  • HTML Parsing error: Cannot edit the item container parent before the child element is closed (KB927917).

    Original title: HTML Parsing Error:

    When I go on this particular Web page, I can open the page, but with errors.  The error I get is: HTML Parsing Error: impossible to edit the item container parent before the child element is closed (KB927917).  Can someone out there help me solve this problem.  Also, it is the only Web page devoted to this particular site that does this.

    Hi Debbie9089,

    ·         What browser do you use?

    ·         Have you been able to access this site much earlier?

    If you use Internet Explorer, you can follow this link and check if the problem persists.

    Why do I get an "Operation aborted" error message when I visit a Web page in Internet Explorer?

    Hope the helps of information.

    Please post back and we do know.

  • Cannot access a Web site, HTMLParsingError unable to change the container element parent before the child element closed

    When I go to Geaowarehouse a site to check the properties and assessments

    I can't get the information

    This message appears when I click on the yellow triangle at the bottom LHS

    HTMLParsingError unable to edit the item container parent before the child element is closed

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_other/HTML-parsing-error-unable-to-modify-the-parent/e64759e0-D344-42d6-b1d8-0ce27504dd71

Maybe you are looking for

  • Need to keyboard for Equium A100-147

    can someone tell me what looks like the keyboard on this model? like im interested in buying a

  • Why can't I find my photos online?

    I have a Macbook pro with the retina display, running OS X ElCaptain. When I want to access the photos to upload them to Facebook, I h = ' t can see one of them. I see the folder for opening and I see the folder for the pictures, but there are only a

  • How can I make images display in "Windows Help and Support"?

    I am problems in the display of images in "Windows Help and Support". Images are not displayed properly and help is also not formatted well as it should. Previously everything was fine, but I don't know what went wrong and resulted in such errors in

  • Vista to 7 using the same disc?

    I have Windows 7 64 bit on my Sony Vaio laptop that I had to buy that copy on it has stopped working, a $179 I was planning on spending and my dell vostro 220 which has windows Vista Home Basic 32-bit, I was notified is no longer supported, can I use

  • Internet "BOLD" of blackBerry Smartphones!

    Am I missing something? Everyone seems to be able to browse the site without any problems. Most of the time, I have problem of navigation on certain websites. For example, the Facebook site, I can't click on the "connect" button. And on some other si