Captivate 4 - Advanced - Actions buttons Pause/Play

HI - so I created a 2 buttons - a pause and play - so my users can implement pause/play my captivate video (slide audio and real). I created my 2 variables for the buttons and I created my Advanced action. I am affect my break to "rdcmndPause", hide break, exhibit. And I'm assigning play "rdcmndResume", hide the piece, see the break. It does not work. The play/pause buttons appear and disappear as they should - but my project is not a pause or play. Any thoughts?

I'm not very good with AS3, but try this, removed some of your code and added a little ;-) worked OK for me

PauseButton.visible = true;

PlayButton.visible = false;

PlayButton.addEventListener (MouseEvent.CLICK, hidePlay);

PauseButton.addEventListener (MouseEvent.CLICK, hidePause);

function hidePlay (event: MouseEvent): void {}

PauseButton.visible = true;

PlayButton.visible = false;

MovieClip (this.parent.parent) .rdcmndResume = 1;

}

function hidePause (event: MouseEvent): void {}

PauseButton.visible = false;

PlayButton.visible = true;

MovieClip (this.parent.parent) .rdcmndPause = 1;

}

Tags: Adobe Captivate

Similar Questions

  • Captivate 6 - Advanced action does not work in the project?

    Hello

    I use 6 Captivate. In my project I have a common slide2 which is called when clicking on the two different buttons (C1 and C2). Slide 2 contains several objects, saying Text1, text 2, 1 button, and Button2.

    Slide 5 I have a C1, I defined the on success action: execute advanced actions

    Script: If CPIntoCurrent Slide is equal to 5

    Action:

    Go to slide 2

    See the Text1

    See the Button1

    Hide Text2

    See the Button2

    Similar action has been set to C2 (slide 8) redirecting to slide 2 showing the Text2 and Button2, hiding other objects.

    These scripts where works fine, until I installed a patch on the adobe site. The patch was intended to display the video correctly in the PDF when selected the option display the table of contents.

    But unfortunately he's completely unbalanced the script of existing projects. I also tried to uninstall completely and fresh install Adobe Captivate, but not luck .

    Help, please.

    @Rod and with a concern for users of later versions (I'm not sure 6, this version did more) 6.

    It is perfectly possible to show/hide objects of an 'Advanced' action (not with a simple gesture) that is running on another slide of the slide corresponding to the object. I am certain about it for versions 7 and 8. I have not been much about 6 blogging and was bit sloppy on this release to keep track of all the changes. If you don't believe me (what happens in these forums), CP8 users take a look at the example file Cloudair included with this release: the action advanced in the first slide shows/hides objects anywhere in the file based on the information of the new cpInfoGeoLocation of system variables.

    Rod, I see you post this comment often, I just wanted to add these details. As I explained that I don't know when this change occurred (6.1 is my suspicion, but cannot test). In CP5 you could hide objects that have been timed for the rest of the project on a slide different than its original location. Since 5.5, you might also show this type of object.

    Lieve

  • Show/Hide - advanced action buttons and images

    So, I thought I had a handle on usage shares advanced to show/hide, but apparently not.

    Here's the scenario:

    -Screen where the user must select one of the 6 options

    -When the user clicks on one of the 'boxes' of the option a check should appear and audio should play

    -All other "cases" should be disabled to avoid audio duplication

    Here's what I did to try to get this working:

    -' Boxes' are buttons, click on success:

    * Success box contains audio that plays (this works)

    Success of the button execute advanced action:

    > hide all other buttons on the slide (it does not)

    > display an image of a check mark in the "checkbox" which has been clicked (does not work)

    > go to the next slide (works, audio from the success box once completed)

    Thoughts? Help! Thanks in advance!

    Hello, unknown fan

    Overlay buttons will not work, so let this idea alone.

    I really want to finish this blog post on audio and widgets. Just an idea and will try to be at the time where I found the time to try something. Why don't you attach audio to an initially invisible object that you show with the same advanced action? This object can be a shape with no stroke and a fill alpha of 0% so that it is invisible to the user. You will have time before the sound can play completely before going to the next slide.

    Lilybiri

  • Captivate 9 Advanced Actions break the module

    It is so incredibly frustrating. I had built a module in Captivate 8 and then converted to 9. Subsequently the entire module would publish, but wouldn't download on the internet - I got the spinning wheel, but nothing appeared.


    Now, I've reconstructed this entire module in Captivate 9 and published each slide, he transferred a lot - UNTIL I added advanced actions (standard actions to that). Now, it will not download again. I removed the advanced actions, but still, it won't upload more. I'm very, very frustrated by this setting level and hold that I had not upgraded to 9. Very frustrated.

    I've never seen a situation where HAVING simply advanced within a published file Actions prevented him from Internet download.

    Are you talking about maybe your LMS do not accept it as a SCORM package when you say "upload"?

    Could you be a little more specific on what do these advanced Actions?  How do confirm you that they caused the failure of download (e.g. If remove them fully active again the download, what all simply NOT running but leaving them in)?

  • Captivate 8 - "Audio" in the context of a fast action is not playing audio

    Hello. I was hoping you could help me, because I can't understand why what I'm doing doesn't work.

    I have a slide where I explain the answers to a game earlier in the captivate. Each question is a hyperlink that runs a tip action. This action is currently a set group of objects (box highlight to hide the rest of the screen) and two boxes with text captions. From the top of each box has a red X that I use as a button. Clicking this button launches a tip action that hides everything simply all these objects.

    The screen without a caption box:

    Screen.png

    The screen with a caption box:

    Screen w caption box.png

    My calendar:

    Timeline.png

    I try to add audio to the text explanations, but cannot get the sound to play. I edited stocks advanced for hyperlinks read 'H1 Show' (objects grouped for that matter) in the first line and "Play audio H1.wav" in the second line. I also changed the advanced actions related to the red Xs 'Hide H1' and 'Audio triggered Stop. "

    advanced action 1.png

    advanced action 2.png

    Unfortunately, when I do that, the sound does not play. My limited knowledge of captivate, update the advanced actions on what you see above should cause an audio file specific to play when they click the hyperlink and the beep to stop when you click on the red X. Currently, the audio does not play.

    Does anyone know what I have neglected to make it work correctly?

    Thanks a lot for the answers.

    It must indeed work, don't have time to test and do not immediately see the problem.

    However, would it not easier to fix this audio clip text in the Hx group? He will play only when the group is displayed.

    Update: I tested this out in Captivate 9, with the example, I created for the blog: play with Captivate 9 - Captivate blog

    It works perfectly for me: I added an order of audio playback to the joint action, I used to show the lightbox and stop triggered audio to the action of the close button.

    I have test browser both browser HTML to check if it works for output SWF and HTML. For such an order, that I never had the experience that I should have to publish to make it work, maybe I'm lucky.

    It's common action, I used to change the State instead of display Lightbox, the Show action is for the close button.

    For the close button:

    Sorry that I could not test it on 8.

  • Advanced action scripts - y at - it a variable that tells me which button is clicked?

    Lilybiri gave me some great tips on the use of conditional tip action scripts. Now, I have another related question.

    I have three buttons A, B and C. Each button performs exactly the same series of actions to hide everything on the page, but shows another group of objects depending on which button was clicked - that is, to display the Group A and Group B group C.

    Currently, I have a separate advanced action script for each button (in fact a lot more than three) because of this difference, then want to combine in a single conditional script. However, I can't understand how I would like to know which button was clicked.  In other words, I think that my conditional script should look like this:

    The condition "always."

    If 1 is equal to 1

    [Script to hide all]...

    Continue

    Condition 'has '.

    If MyButton is equal to 'A '.

    See the group_A

    On the other

    Continue

    Condition 'B '.

    If MyButton is equal to 'B '.

    See the group_B

    On the other

    Continue

    Condition 'C '.

    If MyButton is equal to 'C '.

    See the group_C

    My problem is that I don't know how to set or get the value of MyButton to perform conditional tests. Is there a system variable that returns the value of a selected object? I looked at all the variables, and I don't see one. Or y at - it another way to do what I'm missing?

    You probably can find with Javascript, but not with advanced actions. All the available system variables that can be used - there are more - are in a table that you can download here: System variables in Captivate 8 - Captivate blog

    I have several articles on the shared use of stocks. You apply the same instance of a common action several times and don't have that to indicate parameters, in your case these parameters will be for most groups and objects. I hope that stocks shared will expand more in the future. They have several advantages: given that you use multiple instances of the same action that they do not increase the file size as duplicate advanced actions. In addition, you have them in the library that makes management much easier.

  • Can I use conditional and advanced actions on the same button?

    I'm fairly new to Captivate, but come from a flash background and I do of Captivate to do certain things, that I expected to be straightforward and a normal requirement.

    I want to create a screen with a number of interactive objects, in this case photos, it's the learner clicks on to display a text element.

    By clicking on the following image, the first piece of text is hidden and a second piece shown.

    There are 6 images/buttons which have to work in this way.

    However, I also want to determine if all the buttons have been used, as we force the user to view the entire slide before you continue.

    I can do the hide/show text and buttons, and I wrote a conditional action to check the variables for each button. However I do not know how and when to appeal to this action.

    I was hoping that in my Advanced action for each button, I could add in a call to the conditional action "record"variables", which would be very well fulfil this requirement, however this doesn't seem to be the case."

    I also animation/effects on the timeline before the images are on the meaning of screen I want to go back to the beginning of the timeline to use an event "on enter.

    I am surprised that this isn't something that people most need because while it may be frowned upon outside in the field of e-learning, disabled navigation is frankly not will disappear and working for a large corporation will be a must.

    If anyone can shed some light on this, or perhaps suggest a better approach then I'd appreciate it.

    Thank you.

    Of course, it is possible. This is the approach I explained (for previous versions):

    http://blog.lilybiri.com/template-for-reusing-script

    The models that I offered it, were invited to a lot of times and are used all over the world, which is funny

    I also have templates for CP6 and 7, but has stopped offering everything for free. And 7, you can have all the shares shared in a library that can be used as external library... just a tip: http://blog.lilybiri.com/new-features-in-captivate-7-dot-01

    Agreement on controls on effects for paths, please submit a feature request as many have already done to have the most control over the coordinate without having to change the XML file.

    It would be nice to have timed events. Jim Leichliter has a widget (only for the SWF) which allows some scripted events. The interaction of timer that can do as well, but is not very accurate because after that time there is always a lag of about 2 seconds.

    http://blog.lilybiri.com/events-and-advanced-actions tells us about the available events.

    Sorry for all these links, but advanced actions are my passion, since they appeared with 4. They are limited, all right, but I managed to convince many users to give them a try at different levels. Would love to train more users for this "point-and-click" approach that does not really need programming skills, but only a logical mind.

  • Don't hide and not available in advanced Actions - 7 Captivate

    I'm very new to using Captivate, so maybe it's an obvious solution.  I have a screenshot below what happens when I try to create an advanced Action.  I want to show and hide a legend when a button is clicked.  Cannot use a roll because it is not compatible with HTML 5 and you can not roll something on a tablet or iPad.  As you can see Show, Hide and Enable are disabled. I tried to create a new project and do the same thing and it works very well.  But I don't want to start a new project and recreate the other interactions that I have already installed.  Also, I would like to know what is the cause, so I repeat again.

    Any help or suggestions you can provide are greatly appreciated.  Thank you.

    advancedactionsmissing.png

    Success!  I found the problem.

    I went through and delete a slide at a time and then tested to see if I could add a tip Action.  About slide 19 (of course) I was able to make it work.  After cancellation and put the blade back in I could not add an action.  So that was probably the problem.  After looking at the settings for the slide, I was wondering if the characters of < and=""> > on the slide name could be the problem.  I took out them and viola - this has worked.

    So I learned my lesson - only letters and numbers in my slide names in the future!

    Thank you all for your useful ideas and thoughts.

  • Advanced action appears in a loop - 6 Captivate

    I have a HTML5 project that connects to another URL page on about 5 slides.  Jim was eough kind to inform me that there is a known issue on the binding of Captivate URLs that are not typed by hand. All URLS are typed by hand, and all the advanced actions are put in place so that on the last click fo the button, the blade should move on to the next, and the URL should open in a new tab (in that order).  This goes perfectly on the first series, but the second set does not advance the slide, he just opened the new window. If you return to the captivate window and click on the next button it respawns the new window, never to go to the next slide.  I deleted the project on my Web server, slides have to be recreated, rebuilt the action advanced, with no effect.  Anyone else running in all what simiilar?

    It is a bit of a show-stopper for me because I don't want to have just code a button - my hope was to make it run as a native application iPad, but if I can not take the chrome because users will have to navigate it is impossible.

    Add this to your existing JS code below:

    forward();
    open_win();
    
  • My PAUSE/PLAY button no longer works.

    I'm a little obsessed to keep my rocket (v 2) clean, even if I have a case of crystal clear for this - but leaves the click wheel - so I wipe two or more times a week with Clorox and rubbing alcohol.  I think I might have overdone it because my PAUSE/PLAY button no longer works.  This means that I can listen to music when the player is turned on, but I can't put pause a song.  If I want to stop a song, I have to turn off the player by using the side buttons.  When I turn it on, it plays right where the song was off, but it's kind of annoying.  Is it possible to fix my PLAY/PAUSE button, or took my ways germaphobic with me?

    willlet784 wrote:
    How I would delete the current firmware I have on the reader?

    You do not have. Just manually, re - install the firmware as suggested. You can get the latest version here. It won't replace what is on the player.

  • Execute advanced action does not work in Captivate 9. Help, please!

    Hello

    I created a simple questionnaire and use to execute advanced action if students take the test, a new slide is displayed. To fail back to the quiz. Here is the screenshot of what I put in place. I think I followed the correct instructions, but whenever I tried it in preview mode, it doesn't. After the last slide in the quiz, he continued to go to the next slide. Thank you!

    image 1.jpg

    image 2.jpg

    You choose the wrong system variable. I guess you want to check the score, not the maximum score?

    Use cpQuizInfoPointsscored or cpInfoPercentage. Here is another link where you can download a descriptive table with all system variables:

    System variables in Captivate 8/9 - Captivate blog

  • Captivate slidelet 9 - where is the stick slidelet box? I don't see an action button in the properties to get the box stick slidelet.

    Captivate slidelet 9 - where is the stick slidelet box? I don't see an action button on the slide bearing or the slidelet properties pane.

    Jenny.James.Tampa

    Tab actions are for the rollover slidelet area, and there is the option you are looking for:

  • using advanced actions to make a button appear at the end of my project - HELP

    I'm working to build a set of advanced actions, which allow a user display the buttons at the end of the test based on the responses of the text entry box. The plan that I've discovered so far is:

    1. on the slide after the TEB, I have a conditional action that uses IF cpQuizInfoLastSlidePointScored = 1, and THEN assign the Variable 1 to 1 (the variable is set to 0)

    2. at the end of the test, I have an advance action that declares the variable = 1 IF THEN hide button (the button says they did hide the bad action means they did as the correct input) ELSE view button

    I have a total of 23 of these interactions TEB

    Everything works perfectly if each answer is correct

    Everything works perfectly if each answer is wrong

    Arrises them problem when alone or some answers are wrong. When that happens, no buttons appear.

    I built a debug slide and be positive for each Variable, I built received the first interaction.

    so, what could I have done wrong on my process? Any help would be appreciated.

    Always nice to hear from someone who likes my book.

    A thing, you have not made it clear to me yet.  You say that you are running the first action 'at the entrance to the next slide. I guess you mean using the event YOU enter the quiz question slide slide follows?

    Then, you mention that "at the end of the process," you have a blank slide that performs the final conditional action.  I assume that you mean that you use the event YOU enter Slide for the Quiz results slide where your buttons is displayed?  You won't be able to perform actions SHOW/HIDE objects on slides other than the one where the action is executed.

    My personal preference to set the variables on each quiz slide would be to use the event on the success of the quiz slide just to set the variable directly instead of using a decision of conditional action block as you did. If your quiz questions are all together for a moment of success, then just using the action of success WE should have the same result, but it's just more direct and so less inclined to any question (for example if, for some reason, the system cpQuizInfo variable did not work, your event on success should always pulled).

    In theory, your way (using the system variable) should work too, but sometimes if there are several ways to do something and your current path does not work, try them the other way around can get out you of trouble.

    I guess that your final conditional action has something ELSE for each block of decision which SHOWS the button?

    One thing that also that Lilybiri would probably say, that you are trying to rename all your blocks of decision in the last conditional action.  It could be one of the names of your decision blocks is originally a kind of conflict.  I noticed that you have a name of decision block with a punctuation of hash character.  Not a good idea.

  • How to code a button to play and pause sound using its loading?

    How to code a button to play and pause sound using its loading? I used the sound load methos to fix the sound. Can someone help me?

    I can't determine where the sound is defined and where you try to control it.  This will work but is sloppy coding:

    Stop();

    adaDrut1.onRelease = function () {}

    _root.mySoundC = new Sound (this);

    _root.mySoundC.loadSound ("F #/ Bhajni1.ark", true);

    _root.mySoundC.onSoundComplete = function() {}

    This.Start (); }

    gotoAndPlay ("play2");

    _Global.myTaalLaya = 'entries Low1. "

    }

    {play_btn.onRelease = Function ()}

    _root.mySoundC.start ();

    }

    {pause_btn.onRelease = Function ()}

    _root.mySoundC.stop ();

    }

  • Are there books or Info on Captivate advanced Actions

    Are there books or info on Captivate advanced Actions? Using Captivate 5?

    My blog is considered to be a source of information about advanced actions:

    http://lilybiri.posterous.com

    I've also published articles on advanced actions, are listed in this blog:

    Articles

    Lilybiri

Maybe you are looking for