Control the Captivate 7 via embedded swf

Hey guys,.

I have a custom navigation buttons has been created in flash and inserted as an animation to the slide model.

It is a basic navigation for example, next and previous buttons, which in turn will make slides in captivate advance or backword. I use flash for aesthetic reason. I can get this to work in captivate 5.5, but can not do work in captivate 7.

How to order the cpCmndNextSlide to captivate through my embedded swf?

Thank you for your time.

Use rdcmndNextSlide rather than cpCmndNextSlide. I also propose the discovery of cp outside the button click function. I know this is an old deprecated command, but they always hide in there.

btnNext.addEventListener (MouseEvent.CLICK, btnNextClick);

MC1. Stop();

var cpRoot:Object = MovieClip (root);

var cpMain:Object = MovieClip (cpRoot.parent.root);

function btnNextClick(myevent:MouseEvent):void {}

trace ('Next');

MC1. Play();

cpMain.rdcmndNextSlide = 1;

}

Tags: Adobe Captivate

Similar Questions

  • Passing the Captivate Variables to Embedded SWFs.

    Does anyone know how to pass a variable of Captivate to an embedded swf? I will elaborate on our situation for clarity. Finally, we Captivate allows you to create Scorm packages for use in Moodle. In this particular case, we have a Captivate project where we have several slides. On each slide, we want to import a swf created in Flash. Now, this Flash swf is configured to analyze an external XML file, determine which slide containing the swf on and then read the correct video for this slide. This file has a list of video sites (URL) and is organized by slides. The question we are hung up is how to pass the variable of Captivate (cpInfoCurrentSlide) for the current slide to the embedded swf. Someone saw?

    S

    Of course you can do it.

    Here is a list of all the variables: http://www.cpguru.com/2009/04/28/system-variables-in-captivate-4-%e2%80%93-a-complete-list /

    I'm not aware of any written documentation, but it is just like when you take a variable.

    Example:

    _root.rdcmndNextSlide = 1; will send your project to the next page.

    / Michael

    Visit my Captivate blog with tips & tricks, tutorials and widgets.

  • How to control the Captivate 4 variable using Flash Action Script 3.0?

    Hi all.

    I'm working on Captivate 4.

    According to my requirement, I need to control externally Captivate system variables in Flash using the AS3 version.

    I found a script somewhere in the forums to control system in AS1 and AS2 variables. But I need them in AS3.

    "this._parent._parent._parent.rdcmndPause = 1;  "

    "this._parent._parent._parent.rdcmndresume = 1;  "

    I tried the same way in the AS3 version but could not do.

    It is an important condition for me.

    How to control variables in Flash AS3 Cp4?

    Kind regards

    Kartik.P

    Use the following code:

    MovieClip (this.root) .rdcmndPause = 1;

    MovieClip (this.root) .rdcmndResume = 1;

    This should solve your problem

  • Pause the captivate swf while incorporated a swf flash is interacted with

    Hello world.  For reasons too complex to enter, I need to embed a quiz done in Flash, in Captivate.  This, I got, my only problem is that, because the game requires user interaction, I need the film Captivate to stop playing until they got the correct quiz!

    I understand that I can put an area of Captivate click or button on the timeline of Captivate, but which would allow the user to jump in front of the quiz, and as it is e-Learning, which is not an option.

    Is there an actionscript that I can put in the Flash quiz that allows to control the container Captivate movie?

    Thanks in advance!

    Hi Susan,.

    Variables work in CP2 and the NextSlide should certainly work. You use a skin/playback bar in your Captivate project? If so, then the path to the file, Captivate swf receiving instruction is different.

    If you use a skin test to send the Flash command like this: _parent._parent._parent.rdcmndNextSlide = 1;

    CP variables can be used to control the Captivate swf in many ways. You could use a Flash shell as a container for your Captivate swf and then use variables to manage navigation and other aspects. You can also import a Flash file in Captivate and have this file to communicate with the Captivate swf.

    / Michael

    Click here to visit the blog of www.captivate4.com

  • How to control the video swf loaded in the loading component?

    I have an external swf file loaded into the loading component. The external swf loaded into the component loading stops at departure. I want to play by a button outside the loading component that is located in the main swf movie. CAN SOMEONE HELP ME CONTROL THE VIDEO SWF LOADED INTO THE COMPONENT OF LOADING EXTERNAL?

    You can target the SWF via the content property of the UILoader.  If the name of the instance the UILoader is ldr...

    MovieClip (ldr.content) .play ();

  • How can I control the elements in the graphic palette (profile line) via the property node?

    Hello everyone,

    Is it possible to control the elements (graphic palette in the profile of the line) via the property node?

    Greetings zapfle

    In general, you must balance only Min/max property, then you can "zoom and Pan" by program:

    Andrey.

  • Captivate 7 - where can I find the settings of publication for swf files?

    In fact, we created a tool for creating swf files that our company publishes files Captivate and Adobe Connect. With our last update to Captivate 7 we can now successfully publish on YouTube (finally) but now the swf file settings have dissappeaered - we need for our customer publications.

    1. How can we publish Captivate 7 records in swf?

    2. If they have been taken-someone ' a has a routine to workaround?

    Thank you so much - we have searched high and low to find answers.

    Peter

    You can deploy MP4, from a file-cpvc also internally, but this is pure video, non-interactive.

    The classic way to create a simulation with Captivate uses automatic Capture (file cptx), where you have the choice between the demonstration, Simulation and training simulation assessment (with an increase of degree of interactivity). And these files can be published to SWF/HTML (interactive) PDF format...

  • Flash increases the size of the Captivate SWF file

    I have a Captivate project that I export to Flash. Flash increases the final size of the SWF file with no items or perform any other edition. For example, the Captivate published SWF is 617KO and the Flash SWF published 1 599 Ko without adding anything. In addition, the JPG settings are of the same quality in both programs.

    I have to make some changes to the code AS that is beyond the capabilities of advanced Actions of Captivate.

    Any ideas that I could do to stop the inflation of file size?

    Thanks in advance for any help.

    Tom

    Having Flash generates a report of size when you publish the swf file so that you might be able to see whence the weight.

    You should post in the forum of Captivate in the case where there are people have similar experiences that can help shed some light on this.

    http://forums.Adobe.com/community/adobe_captivate/adobe_captivate_general?view=discussions

  • control the loaded swf file

    Hi all

    I am loading a swf into another SWF, I want to controll loaded swf such as play and pause the swf. The loaded swf file is an animation file, all animations are kept in a movieclip, then please tell me how I can control the animation.

    In your first assignment, you tell the animation is present in a movieclip.  If this movieclip is in the loaded swf file you will probably need to target this movieclip to tell him to play rather than the SWF itself, as in...

    currentSWF.movieclipName.play ();

    where movieclipName is replaced with the name of the instance of movieclip in the loaded swf file.

  • Captivate 4 replay output SWF will slide to the last visited

    Hi, I have a Captivate 4 course published; full screen SWF, Flash 10, AS2, includes quiz questions optional not followed, unmarked, KNOCK, branch, no LMS reports, a certificate with the variable name widget. Everything works absolutely perfect when you first play the SWF file. But if read you again the SWF file, it loads the first slide, then quickly advances to the last slide visited, if it was the slide or if you leave anywhere in the middle. It occurs in all conditions: whatever the browser (IE, Firefox...), regardless of the method of opening a SWF file by restarting browser, 'open with', etc.  It's as if there is a bookmark to the flag and continue where the viewer was off.  But I can't find any setting for this?  I have published many, and this is the first time I met this. What I'm missing from the gurus? Thank you in advance for your help!

    You can check the settings of the table of contents: may individual learning is turned on? Which will store a cookie on the PC and will return to the slide where the user left, kind of bookmark indeed.

    Lilybiri

  • Need to control the scaling a swf loaded when called from a file containing swf

    Flash Professional 11 (build 11.0.2.489)

    Problem: when a SWF is loaded into a SWF containing the swf called scales to fill the window. When the stand alone SWF is played from a HTML or SWF format, it does not adapt and display correctly. I tried to adjust the dimensions of the stage, publish settings, etc. nothing works.

    My swf container has a Clip called contentContainer and three buttons. The buttons just addChild (selected swf) and removes the current swf child.

    Is there a way to control the scaling of a swf file loaded into another swf?

    The relevant code after calling the functions of office is as follows:

    function onCompletePreloading (): void
    {
    contentContainer.addChild(_swfClipsArr[0]);


    IntroButton.addEventListener (MouseEvent.CLICK, setContent);
    drilldownButton.addEventListener (MouseEvent.CLICK, setContent);
    EnterDatesButton.addEventListener (MouseEvent.CLICK, setContent);
    }

    function setContent(event:MouseEvent):void {}
    var _swfToAdd:MovieClip;
    {switch (event.target.name)}
    case "IntroButton":
    _swfToAdd = _swfClipsArr [0];
            break;     

    case "drilldownButton":
    _swfToAdd = _swfClipsArr [1];
            break;  

    case "EnterDatesButton":
    _swfToAdd = _swfClipsArr [2];
    break;

        }

    contentContainer.removeChildAt(contentContainer.numChildren-1);
    contentContainer.addChild (_swfToAdd);
    trace (_swfToAdd.customID);

    }

    instead use:

    contentContainer.addChild (_swfToAdd);

    use:

    addChild (_swfToAdd);

    or, if you use this parent to a design:

    var mc:MovieClip = new MovieClip();

    mc.addChild (_swfToAdd);

  • Communicate with the embedded SWF files

    So if I have several external swf into one big, how can I communicate with each other?

    More specifically,.

    -the swf principal needs to know when the keys were pressed in a shipped, and he needs to tell you all the other included those on this subject.

    -embedded SWFs must intelligently resize and shuffle around each other, while keeping their origins coordinated in the upper corner.

    How can I go about it?

    As long as you mean by "shipped" you load swf files in you main file dynamically, then there is hope for all that you have planned.  If you mean that import you into the library by embedded and plant them in the chronology of the main file, that does not work.

    The other event and the event or Manager is coded in the main SWF.  Are the code loaded SWF to displatch events than the main file of the headphones for.  If simply scream of the loaded swf when they will, not for mutual assistance who hears him... allowing them to compile without dependence on the master file.

    If in the film loaded, which triggers the need to rehabilitate the main file in action would send an event as follows...

    dispatchEvent (new Event ("eventName")); name of the event you want to

    To add the listener in your main swf file, listen for the complete event of load on the Loader.contentLoaderInfo which is used to load the file.  In the complete event handler, add the listener for the event on the loaded swf file.

    function loaderCompleteHandler(e:Event) {}
    MovieClip (e.currentTarget.content) .addEventListener ("eventName", eventHandler);
    }

    function eventHandler(event:Event):void {}
    trace ("load swf triggered event");
    }

  • Controls the main scenario for swf loaded.

    Hello

    I use a textfield for debug information.

    I am loading a swf in the main timeline and I show the status in the textfield of debugging.

    function swfLoaderCompleteHandler(event:Event)

    {

    Debug.Text += "Swf loaded.";

    }

    This works.

    But,

    I am loading a png file in the loaded swf file. I'm showing the State of the png file that I showed the status of the swf file.

    function pngLoaderCompleteHandler(event:Event)

    {

    MovieClip (parent). Debug.Text += "Png loaded.";

    }

    I can't control the main swf from inside the loaded swf file. Same Stop or a function call does not work.

    I need to add something when I load the swf file, it's a MovieClip or something?

    Here is also a fla. http://flashfocus.nl/Forum/attachment.php?attachmentid=9885 & d = 1282509233

    You are welcome.

    Please mark this thread as answered, if you can.

  • 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 control the embeded movieclip in an another movieclip to start or stop

    [ source flash file

    I created a movieclip MCA. There are 4 movieclips incorporated within the MCA. I hope that the ' Next' button to control the movieclip "slide2" within the MCA to play. but I failed. It does not play. What's wrong?

    Moreover, the first image in "slide2" is set to "stop". This is important for me. I need it.


    the code is as follows,

    /////////////////////////////////////////////////////////////////

    _root.btn_next.onRelease = function() {}
    _root. MCA.gotoAndStop (2); / / film "MCA" go to section 2 to show "slide2".
    _root. MCA.slide2.gotoAndPlay (2); hope to control movice "slide2" clip in "MCA" to play
    };

    might help you solve the problem?

    Thank you

    out slide2 from tier 2 of the mca and put it on frame 1 of the mca. Add actionscript to make it not visible slide2 on frame 1 of the mc1 and make it visible on the frame 2 of the mca.

Maybe you are looking for

  • Satellite 1900-102 how to restore XP CD without a recovery Cd?

    Hello I'm looking for a solution to my problems. I would format XP Home / or return to the initial configuration and at the end to make a dual-boot with a distribution of linux (Fedora or Ubuntu).But I have no cd/dvd recovery or XP installation cd an

  • Did someone gets a response from the pros at HP?

    The help forum was supposed to start at 4:00 today, but I can't tell if this forum with experts from HP is active?  I was going to send my laptop in return this weekend but waited for this day first... However I m receive no answer?

  • Issue of Cisco E2000

    Never seen any ports light up in red. (Or what looks like red for me, I'm colorblind.) I can't find any info on why it would be anything but blue. Any ideas?

  • Wireless Bluetooth not recognised in Vista - mouse pointer move not.

    Have Microsoft and Logitech wireless mice. New batteries in both. Everyone has light display in bluetooth adapter and mouse. Neither will move pointer... What can be the problem? Thank you!

  • Cisco VPN drops my Internet connection

    I have anyconnect Cisco VPN installed on my personal laptop to work remotely. My laptop was originally Windows 8 and the VPN worked well.  When I downloaded Windows 10, when I connect to VPN access my internet disconnects.  I brought my laptop to my