Button Widget - Need it to jump to next slide, not simply continue

I'm new to Cp 5.5. I was an expert in Cp4 and prior versions, but due to work changes I've not worked with Captivate in a few years and am just getting back into it. Definitely things have changed!
I setup a master slide and at the top-right I placed one of the static SWF button widgets that comes with Captivate. In the options for it I set it to go to the next slide when clicked, however upon preview it is continuing on the same slide and not jumping to the next one. I tried it with a few of the swf buttons and they all work the same. Am I doing something wrong? Or is the code broken on these buttons?
If the latter, then I guess my option, if I really want to keep the look of the button (I do), then is to just use it as an image button?

Hello and welcome back,
The static button coming with Captivate 5.5 has no pausing point but it should work OK, does for me anywat. How did you test? Can you insert a text caption with the system variable rdinfoCurrentFrame to see if there is indeed no jump to next slide?
If you want the static button with a pausing point, at half its duration, you can download it from my blog:
What I (dis)like in Captivate 5.5
I do not understand your last question? You want only the image, not the functionalities of that button? You should be aware that only static objects can be inserted on a master slide, not interactive objects.
Lilybiri

Similar Messages

  • Advanced action: jump to next slide if all text entry boxes are filled out. If not, pause project and show error message

    Hi there
    Working with captivate 4 and advanced actions, which is a great new feature, I encounter the following problem:
    I have a sign-in slide, where the user has to insert his name and several other data. For user-friendly handling, I have the text entry boxes appearing one after another, so when the user confirms his entry, the next text entry box appears and has the focus.
    The button for jumping to the next slide works with an advanced action:
    Only if the user has filled out all the text entry boxes, the action "jump to the next slide" is performed.
    If not, an error message is shown.
    It works well so far.
    Now, I want the project to pause there, and not to jump back to the beginning of the slide (as suggested in another Thread in this forum), because then the text entry boxes dissappear again.
    I tried to set the movie control variable rdcmndPause to 1 in order to make the movie pause, but nothing happens.
    I tried it with an external playback control bar and without, it didn't work in either case.
    I found the hint:
    To control the project through the skin file, add the prefix cpSkinLoader_mc to the variables. This might be the solution.(?)
    But how can I change the name of a MovieControl Variable?
    If anyone knows, how this is supposed to work or has another suggestion to solve the problem, please let me now.
    Thanks a lot.
    Petra

    Hi Petra,
    I believe I can help you, but from a completely different angle than anything you've tried yet.  I try to find simple solutions to complex problems.  No advanced actions will be needed, just a little creative timing.  First, I need to be sure I correctly understand what it is you're hoping to accomplish.
    If I understand you correctly, you've got a single welcome slide.  On this slide you've got several TEB's (text entry boxes), set up with variables to make your project more personal or gather some required information.  These TEB's have no right or wrong answers, they simply require an entry: such as an address which begins with a numeric key.  The TEB's are set to appear one after another, as one is completed the next one appears.  Once all have been completed a next button, set to "jump to next slide" takes them  to the next slide and on through your course.  You want the project to pause until the user clicks this button, and only proceed if all TEB's have been entered.  If not, you wish an error message to appear.
    If the above description is correct, I'd do the following:
    Leave your TEB's to show up one at a time as the previous is submitted, as you've described. (each one pauses the slide till info is submitted, then "continues" the slide and the next TEB displays)
    Set each TEB to "display for rest of slide".
    For the next button:  In the properties dialog box, options tab, name the button "Next_button" and uncheck the visibility box.
    Open the properties for the final TEB that students will fill in and set the on success property to "show" then choose the Next_button by clicking the drop down arrow beside the "show" field.  This will hide the Next button until all TEB's have been filled in.
    There is no error message, because there is no possibility of error.  Why tell a student they've messed up, just eliminate that possibility!    All TEB's only display after the previous is entered, and the Next button is hidden until the last TEB is entered.
    I've tested this in a simple 3 slide project and it all worked fine, including some variables.  If you need more detailed info, or would like to see the sample proj. I created let me know.
    Hope this helps.
    randy

  • Jump to next slide in Powerpoint when embedded Captivate SWF

    Hi all,
    first of all, I am pretty new to the captivate forum, and searched a while without success, too many powerpoint to captivate issues but not the otherway around.
    I have included a Captivated Version 5 compiled SWF into Powerpoint and made it Full Screen. Is there anyway to create a button in captivate5 to send a command (maybe through javascript/ fscommand etc.) to exit the captivate movie and go to next slide in Powerpoint?
    As of now, all keys and mouseclicks are focussed on the swf and don't reach powerpoint.
    Any ideas?
    Best regards,
    Darius

    This is a detailed tutorial for controlling PowerPOinbt from any flash app. all the code for both flash as2 and powerpoint vba is shown. lket me know if you need more info:
    http://www.slidedynamic.com/support/forum/4-flash-in-powerpoint/38-control-powerpoint-from -flash-as2#38

  • Presenter 10 jumps to next slide too soon in html 5

    I created a presentation from powerpoint 2013 64bit, set to FM quality sound using Presenter 10.0.0 build 196. It is delivered by an Adobe Connect server. The presentations created this way are jumping to the next slide too soon when viewed online, which cuts off the last few words. I have to manually add blank space at the end of the audio for each slide and then upload it multiple times to check that it is OK. Is anyone else having this issue, and is there a known solution?

    I have tried the remove and re-add and it makes no difference. I can't now get the Presenter presentation with video in mp4 format to display or play. I am not sure if it is there or not as when viewing on an iPad it says it is buffering but never actually stops buffering. I can see it on my computer fine and it plays fine, but some of the reason for publishing to html 5 is so as it can be seen by people using tablets.  I just can't seem to get it to work no matter what I try.
    So to recap:
    1. using a presentation published using an older version of Presenter that contains flv videos
    2. republishing the presentation using Presenter 10 to a Connect Content Library using HTML 5
    3. have to convert the flv to mp4
    4. on a computer using a variety of browsers the presentation plays fine.
    5. on a tablet (iPad tried at this stage) the slides without video plays fine, the slides with video just continually says buffering
    On the second point of Presenter throwing up an error message, it's not so much that it throws up the error message as I can cancel that. It's more to do with the fact that it throws it up each time I try to publish a presentation that includes video that is of a certain duration.  I have followed the whole kill the process as suggested and while this does indeed stop the problem it just comes back when I open PowerPoint again and try to publish.

  • Captivate 4 - Clicking back button on question slide takes me to next slide not previous slide.

    I have my quiz preferences set to "user can skip quiz".  When I click the back button I'm taken to the slides AFTER the quiz question, not the slide before.  Help.

    Please, which version do you use? If it is 6, exact version number.

  • Continuing music when jumping to next slide

    This should be a silly question.
    I want to add some music to my slides. However, when I go to the next page, I want the same music to continue to play. How could I do this? Thanks.

    Sorry I find a partial version to my question: add music to document panel in the inspector. But this will play music for all slides. I just wish to play music for the first 5 slides, no music from 6 to 8, and starting to play another music staring from the 9th slide.
    Anybody could help me figure out? Thanks a lot.

  • Quiz Skip Button Jump to Another Slide that is not Next slide.

    Is it possible to make the Quiz Skip button jump to another slide besides the next slide? I'm using Captivate 7.
    Basically, I want the quiz slide to exit to another slide that is not the next slide.

    Branch aware is a totally different thing: it makes the quizzing variables dynamically adapting to the questions that are taken by the trainee.
    You are talking about the Skip button, which is puzzling because that button label was changed to Next since version 6. And Branch aware only appeared in 6. Which version are you using? You are talking about shapes so it must be 6 or later.
    Another question: do you allow Review? Because in that case you'll need that Next (Skip) button. http://blog.lilybiri.com/question-question-slides-in-captivate
    You are talking about a 'custom Skip button'? Can you explain, and also what you mean by the rollover shape? If you have a custom button it should be visible on the timeline of the slide, contrary to the default objects on question slides that are embedded and have no separate timeline. Or was the question master slide edited to add a rollover shape to the default Next button?
    Lilybiri

  • In IE 8 there is a "recent pages" tab next the forward / back buttons. It helps us jump back & forth the sites. Is there similar feature in FF 6 ?

    In IE 8 there is a "recent pages" tab next the forward / back buttons. It helps us jump back & forth the sites directly. Is there a similar feature in FF 6 ?

    The arrow to open the tab history of the Back and Forward buttons has been removed in Firefox 4 and later.
    Use one of these methods to open the tab history list:
    * Right click on the Back or Forward button
    * Hold down the left mouse button on the enabled Back or Forward button until the list opens
    You can look at this extension:
    * Backward Forward History Dropdown: https://addons.mozilla.org/firefox/addon/backforedrop/

  • Adding an image to the Static Button Widget

    Hi all
    I managed to convince my client to let me do my own navigation instead of using the by default navigation bar and its limitations. I finally will be able to do branching and customised feedback on several slides! Great. BUT. There is a but. I need to make the new buttons look like the current ones: Pause/Play, previous, next, TOC and Exit.
    I was happy to discover that I could use a static button widget on my master to deal with my previous and next buttons for all my standard slides. But when I try to add an image of my button the way I want it to look, it looks like that:
    If I resize the button the picture remains at the same size:
    I don't get the Image feature here at all and I wonder if it's possible to customise the button with our own pictures...
    Any success anybody?

    Alright thanks for your suggestions. Yes I am publishing to a slightly different location and I pasted the picture at the root of the published folder. The pic is found but it appears tiny:
    It should replace the button by default but it is added to the button actually, by its side.
    Cheers
    Helene

  • Button widget 'back' bug

    Hi,
    I am pretty new to captivate (using 5) so am not sure if this is a bug or if there is something else I need to add to my slides,
    I have used the button widget to create forward and back buttons on my master slide to give the user control of the presentation. On the first time through the presentation the forward button works fine with the slides not advancing until this has been pressed but if I use the back button at any point in the presentation it then plays at the original speed runnign through all of the slides.
    Once the user has returned to check something or re-read something on the previous slide I would like this to pause until the click the next slide button again.
    The end presentation is part of a course and overall there will be a few hundred slides so I am trying to avoid having to add something individually onto each slide - unless there is a quick way to do this?
    Thanks,
    Mary

    Hello,
    Not sure if I understand the issue, have been using the button widget on master slides.
    A quick way to have a normal button on all slides (or multiple buttons): put them on one slide, and do all the configuration, then copy them, select all the other slides in the filmstrip and paste. They will all have the same functionality and be in the same position.
    Another idea: there is also a PerpetualButton widget: put it on the first slide and set its timing for the rest of the project. But of course, you have to like that button or to adapt it in Flash.
    Lilybiri

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • Adding full screen code into Captivate 5's basic Button Widget

    Hi everyone!
    I was able to create a full screen button in Flash that works with Captivate 5 projects, however, I want to be able to active the full screen feature for every button created using the basic 'button' widget that comes with the Captivate program.  I am not a AS3 programmer so I think my issue is that I am confused as  to where to place the full screen code into the existing 'button widget'  code. Below is the code ...
    Thanks in advance!!
    edlearner
    HERE IS THE FULLSCREEN CODE THAT I USE
    button_name.addEventListener(MouseEvent.CLICK, fullScreen_action);
    function fullScreen_action(event:MouseEvent):void {
    stage.displayState=StageDisplayState.FULL_SCREEN;
    stop();
    HERE IS THE BASIC CODE FOR THE BUTTON WIDGET IN CAPTIVATE 5
    //..........................Template for Static Widget(AS3)....................
    //flash construct to use external interface : This is needed to use flash functionality for communication between two swfs
    import flash.external.ExternalInterface;
    import fl.controls.ComboBox;
    var widgetMode:String = '';
    var widgetParam:String = '';
    var varHand:Object = null;
    var movieHandle:Object = null;
    XML.prettyIndent = 0;
    XML.prettyPrinting = false;
    XML.ignoreWhitespace = true;
    var checkUpdatedXML = false;
    var playedByButton = false;
    var pauseFrame = 0;
    var addednoskipframe = false
    var myXML:XML;
    var myData:String = '<element1><textProperties><font face="Trebuchet MS" style="" size="12"/><textDecoration bold="true" underline="false" italic="false"/><color textColor="0x000000" highlightRequired="false" highlightColor="0xffffff"/></textProperties><captions style="BUTTON_1" themeLabel="0" backColor="0xffffcc" eventAssign="" eventParam="" txtXPos="9" txtYPos="4" imgXPos="190" imgYPos="40" a="1" b="0" c="0" d="1" tx="0" ty="0" bgSelected="false" borderColor="0xff9933" borderSelected="false" containerXPos="" containerYPos=""><text visible="true" width="42" height="20" a="1" b="0" c="0" d="1" tx="18" ty="4">Button</text><image visible="false" width="22" height="18" a="1" b="0" c="0" d="1" tx="NaN" ty="NaN"></image></captions></element1>';
    var xmlConfig:String = '<configs><styles label="Ivory" movieclip="BUTTON_1" backColor=""/><styles label="Frosted" movieclip="BUTTON_8" backColor=""/><styles label="Grey Space" movieclip="BUTTON_9" backColor=""/><styles label="Honey Comb" movieclip="BUTTON_10" backColor=""/><styles label="Mountain Blue" movieclip="BUTTON_11" backColor=""/><styles label="Aero" movieclip="BUTTON_12" backColor=""/><styles label="Gradient" movieclip="BUTTON_13" backColor=""/><styles label="Vivid 1" movieclip="BUTTON_14" backColor=""/><styles label="Vivid 2" movieclip="BUTTON_15" backColor=""/><styles label="Aqua" movieclip="BUTTON_16" backColor=""/><styles label="Glitter" movieclip="BUTTON_17" backColor=""/></configs>';
    //var xmlConfig:String = '<configs><styles label="Button 1" movieclip="BUTTON_1" backColor=""/><styles label="Button 2" movieclip="BUTTON_2" backColor=""/><styles label="Button 1" movieclip="BUTTON_1" backColor=""/><styles label="Button 2" movieclip="BUTTON_2" backColor=""/><styles label="Button 3" movieclip="BUTTON_3" backColor=""/><styles label="Button 4" movieclip="BUTTON_4" backColor=""/></configs>';
    var myConfig:XML = new XML(xmlConfig);
    var myWM = "";
    var mc:MovieClip;
    CaptionMc.visible = false;
    textFormatterMc.visible = false;
    //update ();
    var objName;
    function fnHandleButtonEvent (evt:MouseEvent)
        if (varHand != null)
            switch (Number(myXML.captions.@eventAssign))
                case 1 :
                    varHand.rdcmndResume = 1;
                    break;
                case 2 :
                    varHand.rdcmndPrevious = 1;
                    break;
                case 3 :
                    varHand.rdcmndNextSlide = 1;
                    break;
                case 4 :
                    varHand.cpCmndGotoSlide = varHand.cpInfoLastVisitedSlide;
                    varHand.rdcmndResume = 1;
                    break;
                case 5 :
                    if(varHand.rdinfoCurrentSlide != (Number(myXML.captions.@eventParam) - 1)){
                        varHand.cpCmndGotoSlide = Number(myXML.captions.@eventParam) - 1;
                        varHand.rdcmndResume = 1;
                    break;
                case 6 :
                    navigateToURL (new URLRequest(myXML.captions.@eventParam), "_blank");
                    break;
                case 7 :
                    navigateToURL (new URLRequest("mailto:"+myXML.captions.@eventParam), "_blank");
                    break;
            playedByButton = true;
    function update ()
        myXML = new XML(myData);
        if (myWM == "Edit")
            textFormatterMc.setData (myXML.textProperties);//strCaptivateXML:String
            textFormatterMc.init ();
            CaptionMc.setData (myXML.captions, textFormatterMc);
            CaptionMc.setConfig (myConfig.styles);
            CaptionMc.init ();
            CaptionMc.visible = true;
            textFormatterMc.visible = true;
            var arr = [textFormatterMc.sizeSelectorMc];
            initCursor(arr);
        else
            CaptionMc.visible = false;
            textFormatterMc.visible = false;
            if(mc != null){
                removeAllChildren(mc);
            }else{
                mc = new MovieClip();
                addChild (mc);
            var xmlRef = myXML.captions;
            var textMatrix:Matrix = new Matrix(xmlRef.text.@a, xmlRef.text.@b, xmlRef.text.@c, xmlRef.text.@d, xmlRef.text.@tx, xmlRef.text.@ty)
            var txt:TextField = new TextField();
            objName = txt;
            txt.name = "txt";
            txt.mouseEnabled = false;
            txt.selectable = false;
            txt.multiline = true;
            txt.wordWrap = true;
            mc.addChild (txt);
            txt.text = xmlRef.text;
            txt.mouseEnabled = false;
            txt.width = Number(xmlRef.text.@width);
            txt.height = Number(xmlRef.text.@height);
            //txt.x = Number(xmlRef.text.@tx);
            //txt.y = Number(xmlRef.text.@ty);
            txt.transform.matrix = textMatrix;
            var txtProp = myXML.textProperties;
            var tf = new TextFormat(txtProp.font. @ face,txtProp.font. @ size,txtProp.color. @ textColor,getBool(txtProp.textDecoration. @ bold),getBool(txtProp.textDecoration. @ italic),getBool(txtProp.textDecoration. @ underline));
            txt.setTextFormat (tf);
            if (txtProp.color. @ highlightRequired == "true")
                txt.background = true;
                txt.backgroundColor = uint(txtProp.color. @ highlightColor);
            txt.visible = getBool(xmlRef.text. @visible)
            var mcCaption = new MovieClip();
            var mcCaptionMatrix = new Matrix(xmlRef.@a, xmlRef.@b, xmlRef.@c, xmlRef.@d, xmlRef.@tx, xmlRef.@ty);
            var ClassName:Class = getDefinitionByName(xmlRef.@style) as Class;
            var objHolder = new ClassName();
            objHolder.buttonMode = true;
            objHolder.addEventListener (MouseEvent.CLICK, fnHandleButtonEvent);
            mcCaption.addChild (objHolder);
            objHolder.transform.matrix = mcCaptionMatrix;
            if (SimpleButton(objHolder.getChildByName("btn")) != null && xmlRef.@bgSelected == "true")
                var tempColorStr = [email protected]();
                if (tempColorStr.length > 0)
                    var objColorTransform = new ColorTransform();
                    objColorTransform.color = uint(tempColorStr);
                    SimpleButton(objHolder.getChildByName("btn")).transform.colorTransform = objColorTransform;
            if (MovieClip(objHolder.getChildByName("mcBorder")) != null && xmlRef.@borderSelected == "true")
                var borderColorStr = [email protected]();
                if (borderColorStr.length > 0)
                    var borderColorTransform = new ColorTransform();
                    borderColorTransform.color = uint(borderColorStr);
                    MovieClip(objHolder.getChildByName("mcBorder")).transform.colorTransform = borderColorTransform;
            mcCaption.addChild (objHolder);
            mc.addChildAt (mcCaption, 0);
            var mcIconMatrix = new Matrix(xmlRef.image.@a, xmlRef.image.@b, xmlRef.image.@c, xmlRef.image.@d, xmlRef.image.@tx, xmlRef.image.@ty)
            var mcIcon = new Loader();//IconMovie();
            mcIcon.contentLoaderInfo.addEventListener (Event.COMPLETE, imageLoaded);
            if (xmlRef.image != ""){
                mcIcon.load (new URLRequest(String(xmlRef.image)));
            mcIcon.name = "mcIcon";
            mcIcon.transform.matrix = mcIconMatrix;
            mcIcon.visible = getBool(xmlRef.image. @visible)
            mc.addChild (mcIcon);
    var cursor;
    var otherCursor;
    var downState = false;
    function initCursor(arr:Array){
        cursor = new Cursor();
        cursor.mouseEnabled = false
        cursor.visible = false;
        addChild(cursor);
        otherCursor = new StretchCursor();
        otherCursor.mouseEnabled = false
        otherCursor.visible = false;
        addChild(otherCursor);
        for(var i=0 ; i< arr.length; i++){
            arr[i].addEventListener(MouseEvent.ROLL_OVER, showCursor)
            arr[i].addEventListener(MouseEvent.ROLL_OUT, hideCursor)
            arr[i].addEventListener(MouseEvent.MOUSE_DOWN, showOtherCursor)
            arr[i].addEventListener(MouseEvent.MOUSE_UP, hideOtherCursor)
        this.addEventListener(MouseEvent.MOUSE_UP, hideOtherCursor);
        this.addEventListener(MouseEvent.ROLL_OUT, hideOtherCursor);
    function showCursor(e:MouseEvent){
        var txt = MovieClip(e.target).sizeTxt;
        if(!downState && txt.type == "dynamic"){
            cursor.visible = true;
            cursor.startDrag(true)
            Mouse.hide();
    function hideCursor(e:MouseEvent){
        if(!downState){
            cursor.stopDrag()
            cursor.visible = false;
            Mouse.show();
    function showOtherCursor(e:MouseEvent){
        var txt = MovieClip(e.currentTarget).sizeTxt;
        if(txt.type == "dynamic"){
            hideCursor(e);
            downState = true
            otherCursor.startDrag(true)
            otherCursor.visible = true;
            Mouse.hide();
    function hideOtherCursor(e:MouseEvent){
        downState = false;
        otherCursor.stopDrag()
        otherCursor.visible = false;
        Mouse.show();
    function removeAllChildren(mcRef:MovieClip){
        for(var i=(mcRef.numChildren-1); i>=0; i--){
            mcRef.removeChildAt(i);
    function imageLoaded (e:Event)
        var mc = e.target.content;
        mc.width = Number(myXML.captions.image. @ width);
        mc.height = Number(myXML.captions.image. @ height);
    function getBool (str:String):Boolean
        var ret:Boolean;
        if (str == "true")
            ret = true;
        else
            ret = false;
        return ret;
    function getModifiedXML ():String
        return myXML.toString();
    //to register enter frame function
    this.addEventListener (Event.ENTER_FRAME,onEnterEveryFrame);
    //Captivate App will not recognize a Static Widget unless this function is implemented and returns true
    function isStatic ():Boolean
        return true;//denotes that this is indeed a Captivate Interactive Learning Object
    //a object needs to be created and values filled in . This is taken by captivate and stored as //xml string. This is the mean to pass values between captivate and widget swf.
    function getInspectorParameters ():Object
        //dev//Apply
        //set the data in _parameters fields. This is called by captivate to get the values of widget swf
        var _parameters: Object = new Object();
        _parameters.dataXML = getModifiedXML();
        return _parameters;
    // whenever widget is inserted the widget swf is passed on the parameters stored inside captivate so that it is drawn in updated stage.
    function setInspectorParameters (inParam:Object):void
        //Dev//on Double click //edit window
        myData = inParam.dataXML;
        myWM = widgetMode;
        update ();
    //is called whenever widget needs to be drawn as per the changed
    //parameters like OK to widget dialog and stage swf is updated with the current values.
    function setParameters (inParam:Object):void
        if (inParam.dataXML != null)
            //redraw the widget as parameters has changed
            //dev//OK button
            myData = inParam.dataXML;
            myWM = widgetMode;
            update ();
    //this function is called to set the variable on player
    function cpSetValue (variable:String, val):void
        if (variable == 'movieHandle')
            movieHandle = val;
            varHand = movieHandle.getMovieProps().variablesHandle;
            //using varHand the variables can be accessed for eg. varHand.rdcmndPause = 1;
        if (variable == 'widgetMode')
            widgetMode = val;
            //dev//set mode
    function getEditModeWidth ( ):int
        return 411;// return required width of widget properties dialog here
    function getEditModeHeight ( ):int
        return 480;// return required height of widget properties dialog here
    //Register all the functions with ExternalInterface
    if (ExternalInterface.available == true)
        ExternalInterface.addCallback ("isStatic",isStatic);
        ExternalInterface.addCallback ("getInspectorParameters",getInspectorParameters);
        ExternalInterface.addCallback ("setInspectorParameters",setInspectorParameters);
        ExternalInterface.addCallback ("setParameters",setParameters);
        ExternalInterface.addCallback ("cpSetValue", cpSetValue);
        ExternalInterface.addCallback ( "getEditModeWidth", getEditModeWidth);
        ExternalInterface.addCallback ( "getEditModeHeight", getEditModeHeight);
    //take care of optimised drawing inside this function. Check the widgetMode , widgetParams  and draw accordingly
    function onEnterEveryFrame (aevent:Event):void
        var wm:String = widgetMode;//this variable will be provided by Captivate App or Captivate Movie
        if (wm == null)
            wm = widgetMode;
        if (wm == null)
            wm = 'Stage';
            this.removeEventListener (Event.ENTER_FRAME,onEnterEveryFrame);
        else if (wm == 'Edit')
            //Property inspection inside Captivate app
            myWM = wm;
            update ();
            this.removeEventListener (Event.ENTER_FRAME,onEnterEveryFrame);
        else if (wm == 'Preview')
            //The code here is used for previewing the widget in the preview window of widget panel
            myWM = wm;
            update ();
            this.removeEventListener (Event.ENTER_FRAME,onEnterEveryFrame);
        else
            //On stage scrubbing/live preview inside Captivate app (OR) at runtime inside Captivate movie.
            if(!checkUpdatedXML){
                if (movieHandle != null)
                    widgetParam = movieHandle.widgetParams();
                if (widgetParam != "")
                    var myXml:XML = new XML(widgetParam);
                    myData = myXml.property.(@id == "dataXML").string;
                    wm = "Runtime";
                    myWM = wm;
                    update ();
                    checkUpdatedXML = true
            if (movieHandle != null)
                if (movieHandle.isWidgetEnabled() == true)
                    if(addednoskipframe == false)
                        var slidestart = movieHandle.getSlideProps().startFrame;
                        var slideend = movieHandle.getSlideProps().endFrame;
                        pauseFrame = Math.ceil((slidestart  + slideend)/2);
                        var SlidePauseFrame = pauseFrame - slidestart + 1;
                        movieHandle.getSlideProps().slideHandle.AddNoSkipFrame(SlidePauseFrame);
                        addednoskipframe = true;
                    if(movieHandle.isWidgetEnabled()  && varHand.rdinfoCurrentFrame == pauseFrame && playedByButton == false)
                        varHand.rdcmndPause = 1;
                        this.removeEventListener (Event.ENTER_FRAME,onEnterEveryFrame);
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;

    Hi again,
    I just added a virtual keyboard widget, so that you can enter text even in Fullscreen Mode
    http://www.m-gd.com/virtual-keyboard-captivate-widget-en/

  • Assigning Actions to Radio Button Widget

    I'd like to be able to use the radio button widget as a way to jump to slides. I created a variable for each option (assigning a value of 1 to each) and tied it to an advanced action I've attempted to create. I then added a button that executes that advanced option once the radio button is selected. It doesn't seem to be working.
    Does anyone know how to do this, by chance?
    My advanced action script looks like this:
    Check if [var1 is equal to 1]
    begin
    Jump to slide Slide 4
    end
    Or Else
    begin
    end
    Check if [var 2 is equal to 1]
    begin
    Jump to slide Slide 5
    begin
    end
    Etc, etc.

    Hi,
    Only one variable is sufficient to acheive this.I tried the following steps and it worked.
    1. Create a variable say var1
    2. Create advanced actions
    Check if [var1 is equal to 1]
    begin
    Jump to slide Slide 4
    end
    Or Else
    begin
    end
    Check if [var1  is equal to 2]
    begin
    Jump to slide Slide 5
    begin
    end
    3. Insert the Radio Button widget
    4. In Widget Parameters provide the comma seperated values like 1,2,3
    5. Provide the variable name (var1)
    6. Insert a button and call the above script.
    thanks
    ravi

  • Publishing the 'button' widget using the source file

    Hi everyone!
    I want to use Captivate 5's 'button' widget, but wanted to change the design of the buttons. The source file I found was located at: Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/Button.fla
    The problem is, when I try to publish this source, I get an error that says "/Applications/Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/comp/transformTool/TransformTool.as, Line 1314    Warning: 3553: Function value used where type Boolean was expected.  Possibly the parentheses () are missing after this function reference."
    What does this mean? Does anyone know how to publish this widget correctly? Please help!
    Thanks.
    Best regards,
    ~edlearner

    If you are on Windows you can just create a message in Outlook Express, then save it as a .eml file. This is just a plain text file in MIME format. (You can probably do the same from most simple email client apps... except Outlook).
    To load this in to a Javamail object, you will still need a Session (which in-turn means you need an SMTP Server, although the server just has to be a valid IP belonging to a computer which is network accessible). I typically use the com.sun.mail.smtp.SMTPMessage for simple SMTPMessage operations. You can load this from you .eml file like this:
    FileInputStream fileSource = new FileInputStream(yourEMLFile);
    Session session = Session.getInstance(null, null);
    SMTPMessage message = new SMTPMessage(session, fileSource);Or if you want to use the javax.mail.internet.MimeMessage class just use this instead. It has the same session/stream constructor

  • CP5 Button WIdget FILE Open problems

    Hi,
    I'm running CP5.  I want to have a button that exists on ALL slides, so I used the button widget.  I want it to open a file when clicked.  I keep getttnig "file does not exist errors".  Now I know the file exists because to test, I also put a regular button on slide 1 and had it open the same file, so the file is there and can be opened.  All other aspects of the button widget seem to work (open URL, go to next, etc), but I can't get the file open to work.  What am I missing here?
    Help....
    Thanks,
      Lori

    Are you pointing to another CP-file? You have to point to the cptx-file, not to the published SWF.
    Lilybiri

Maybe you are looking for

  • Auto logins on websites no longer working

    I recently (a couple days ago) got a pop-up on the lower part of my screen that said that firefox was going kind of slowly or something along those lines and said if I would like to fix this that I could click this button. Well I did that and it took

  • Premiere Elements 12. Zu wenig Arbeitsspeicher !!!

    Need help for Premiere Elements 12. I get very often the message: Out of memory. The program is very slow and crashes often. Save I am obliged constantly. I have a Pentium I7 with 12 cores 3.2 GHz and 32 GB of DDR3 RAM. Where is the error?

  • Desktop Manager/PocketMac does not work

    All I want to do is put some music and pictures onto my 8900? What can I do to get the software to work on my Mac.  I put the CD in and I plug up my phone...the icon pops on my desktop but when I click it a blank white screen appears and never loads.

  • Converting rows to collums with out using pivot ?

    Hi, Is it possible to convert the rows to collums ,and collums to rows wit out using pivot table? Tq

  • Google Reader comments cause Firefox to crash.

    Clicking the link to add a comment to a Google Reader entry causes Firefox to crash unexpectedly. I've only had this problem since the 3.6.12 update. So far as I can tell, I don't have any problematic add-ons, and my browser is up to date.