Captivate 4 - Advanced Actions - Pause/Play buttons
Hi - So I have created a 2 buttons - a pause and play - so my users can pause/play my captivate video (audio and actual slide). I have created my 2 variables for the buttons and I have created my advanced action. I'm assigning my pause to 'rdcmndPause', hide pause, show play. And I'm assigning play to 'rdcmndResume', hide play, show pause. It's not working. The pause/play buttons appear and disappear like they should - but my project isn't pausing or playing. Any thoughts?
You can create and use Widgets for Adobe Captivate 4 in AS2 as well Mike.
If you go to your Captivate Installation directory and find the "Gallery" folder and "Widgets" then you should be able to find some AS2 Widget Source files. Take a look at the "Flash Button" widget. This is a relatively simple widget and you can basically just use the code framework to make your own button widget.
If your end users have low-end systems then it's probably safer to stay with AS2 and publish towards Flash Player 8.
/Michael
Visit my Captivate blog with tips & tricks, tutorials and Widgets.
Similar Messages
-
Pause/Play button on toolbar
When running a captivate slide show, and using the pause/play
button on the customisable toolbar, we have noticed that when
clicked this button does not pause any audio that may be currently
running on the slide, therefore making the facility partly
nonsensical. Is this a feature of Captivate 3.0, or is it just me
not embedding the sound in the correct place????
Please help.Hi Kate,
My instincts tell me that you are experiencing a change in
focus, but I'll tell you what I mean, and you can decide if that
may be the problem. Assuming you are publishing to SWF/HTM output
... when your movie starts, what is actually happening is, you are
opening a HTML document, and the movie (the SWF document) is
"called" (commanded to open) by that (HTM) document. Therefore,
when it is first begun, the computer's "focus" is on the HTM, not
the SWF contained in it.
Keeping that in mind, the first time you click (an object in
the movie itself), the Windows operating system must change the
focus
from the HTM document
to the SWF movie, which accounts for the first "click". The
second time you click, the SWF document makes the correct
assumption that the "click" is meant to be interpreted as a command
intended for the object in the SWF movie.
This behavior may vary, depending on the browser being used,
and perhaps even the operating system (I'm guessing here, because I
don't know how Windows Vista might treat the action of clicking in
a browser window as opposed to the way Windows XP handles the same
command-action).
Another possible cause might be the mouse itself, or its
software. You can check this easily enough, by seeing if the
failure to function always occurs on the same machine, and if it
changes when you install a different pointing device. I know from
personal experience that sometimes I have to click really firmly,
and sometimes not. I use a battery powered optical mouse, and its
behavior is subject to change as the batteries get older.
I don't know if there is any help in my comments ... I
certainly hope so. Let us know, because sometimes when one member
"hits a wall" in offering solutions, another member "sees a light"
and a difficut problem ends up having a simple solution.
All the best,
Larry -
I have a course in Captivate 6, when I try to publish in captivate 8 the actions of the buttons disappear
i feel very concerned, because the work it's hardI was able to resolve this without support. I identified the slide where the course stopped playing and the ppt from which the slide background was located. Even though the ppt deck in the Captivate library showed that the ppt was to date, I updated the ppt anyway and that resolved the issue.
The course would stop playing at the same slide, and didn't allow me to advance to any slides beyond that slide using the TOC, I simply got a blank gray screen, refreshing the course in the browser caused the course to start over from the beginning and it would stop at the same slide. Refreshing the ppt allows the course to play through and the TOC now allows navigation. -
Photos slideshow pause/play button not displaying in 3.0
I've been running 3.0 on my first generation Touch for several months. Throughout, I've noticed that the Photos slideshow lower-center pause/play button no longer displays once I've paused a slideshow. While the left/right arrows show and I am able to advance photos one at a time, I am unable to re-engage the slideshow.
In software versions 1 and 2, one could freely pause and play a running slideshow. Now, when I pause the slideshow, I'm forced to bail out of the slideshow and start a new one.
A longtime Touch owner, I'm not certain if my problem is a 3.0 software glitch or things have changed. Has anyone else encountered the issue?Hi,
look here: http://discussions.apple.com/message.jspa?messageID=9843694#9843694
I hope Apple will fix this and some other Bugs in their 3.0.1 Update which will hopefully appears in a few days. -
Applying Standard Advanced Action to a Button Type
Hi. Does anyone happen to know if it's possible to apply a Standard Advanced Action to a Button Type that will be used on multiple slides. My project has Home, Back and Next Buttons that I've used on most slides. I've created a Standard Advanced Action for these buttons, but haven't figured out how to apply the advanced action without going through each slide and selecting it from the very long list of Advanced Actions I have for the project. If anyone knows of an easier way to do this it would be very helpful for me. Thanks.
KimKim,
Which version do you use? In Captivate 6 this is possible if you use Shape buttons: you can put them on the Main master slide (or on individual master slides), or time for the rest of the project. Blogged about them:
http://lilybiri.posterous.com/why-i-like-shape-buttons-captivate-6
If you are on a previous version, I'm sorry but a normal button cannot be displayed for the rest of the project, nor put on a master slide. However there is a static button widget that has not as many functionalities, navigation however is possible, advanced actions not. Maybe that widget can help you, it is static which means that you can display it for the rest of the project (be sure to check the option 'Always on top') or even use it on a master slide.
Depending on the exact content of your standard actions, maybe the action can be used without editing on each slide. Then it is just copy+paste work with regular buttons.
Lilybiri -
ZVM pause/play button prob
I just got my ZVM the ither day and the day after I got it the pause/play button went dodgy. It only works when I press it really hard in the middle and doesn't make a normal clicking noise and if i press it at the side it comes up with the menu.
Sounds defecti've, is it possible to return it for a new one?
-
I have a 7th generation ipod, i have a problem with the pause/play button, it no longer works.
What does it take to make sure it works ????
ThanksIf you successfullt restore to factory defaults/new iPod and still have the problem then it is likely a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
-
Allowing the Pause / Play buttons to work with VLC player
I would like to use my pause / play buttons when I am using VLC player. I use VLC player to watch many movies, but I still use iTunes to play music, so I was wondering if there was a way to switch which application my play / pause button controls. Right now, even if VLC player is open it will only control iTunes.
Thanks,
TravisUnder VLC preferences look for the options "Control with media keys" and "...when VLC is in background".
-
Essentially, I have a slide with six buttons on it.... five that navigate to other pages as an interaction, and a continue button that breaks the loop and moves the user forward in the lesson. I have an advanced action that shows the continue button after all other buttons have been used. The problem:
When a user navigates back to this interaction hub, the enabled continue button doesn't jump to the proper slide... it slowly just moves into a slide in the loop.
Any idea why a continue button would no longer jump to the proper page after it has been activated?Hi there
Actually I do believe there is a way to make the behavior what you want. But I'll address your issue for making things known to Adobe first. Adobe has something called the "Wish Form/Bug Reporting Form" that they monitor. So you use that. (Link to that is in my sig line)
As for the button issue, you can accomplish it using Advanced Actions. What you need to do is to manipulate the Playhead to keep it paused. One way is by configuring the variable rdcmndGotoFrame with the value rdinfoCurrentFrame. Sometimes this works to just keep the playhead paused. Other times I've tried to do it with some success by repositioning the playhead farther upstream and allowing it to "float" back to the pause point of the object. And to do this you use the variable rdcmndGotoFrameAndResume and assigning it the frame number earlier in time. Of course, to do this you must first calculate the frame number to position at. I normally did this by inserting a Text Caption configured to present the rdinfoCurrentFrame variable and manipulating the pause points using a Click Box object to arrive at the desired value.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Captivate 8 advanced actions not saving
I just upgraded to Captivate 8 today and was attempting to create a conditional advanced action. However when I save the action, it doesn't save so the action remains blank. The advanced action was on click, image disappears, and user jumps to a different slide. Like Jeopardy. They answer the question and come back to a main screen where the original link image disappears. Why won't it save?
I don't think that's it. I put together the scrip (which is a simple one, only 3 lines) and click "Save Action." The save action button doesn't grey out or anything. Then when I try to move to a different AA it asks if I want to save before leaving. If I say yes, it says an AA with that name is already created. But when I go to open the original script, it's blank. I've tried renaming things, selecting different items, and am getting nowhere. It's the craziest thing!
-
Add advanced action to submit button and setting different objectives score for the same course
Hi, i would like to increase a counter in a quiz slide when the user press the submit button, using advanced actions.
It's like if the submit button is somehow inhibited from certain options, and i cannot find how to add an advanced action to it.
what i need, is to allow unlimited attempt until the user selects the right answer. each time the user click on submit, a counter increases by one. When user finally select the right answer, we read the counter value and assign a different score, depending on the attempt (for example: 1st attempt=20 points, 2nd attempt=10 points, 3rd attempt=0 points)
After that, i need to save all score obtained for a certain group of quiz slide separately from the "main score" (i think the main score is stored in cmi.objectives.0.score) to have partials scores for a course. I examined the "advanced interactions" panel and i noticed that for each quiz slide there is a specific interaction ID and each quiz slide is associated typically to the same Objective ID. What i need is to associate different groups of slides to different Objective ID's.
In Storyline i was able to do this by passing to the lms a cmi.objectives.n.score (where "n" is the place in the objectives array) and i did it by executing a javascript on success for each question slide. (each javascript added the score of previous slides in the same group to obtain the total score of the group to be passed to lms with a specific function).
examining captivate scorm functions in the published scormdriver.js i found the following function
function SCORM_SetObjectiveScore(strObjectiveID,intScore,intMaxScore,intMinScore)
so i think it can be done the same way in captivate executing javascript in the right way.
Is there also an easier solution to write different scores to different obectives in the same course?
many thanks for any help!Have a look at:
Question Question Slides in Captivate - Captivate blog
Question Question Slides - Part 2 - Captivate blog
Indeed, Submit button is part of the Question slide, not a normal button. You can add a custom shape button, but it will never replace what happens when the Submit button is clicked: validation of the answer, showing captions, adding to score etc. Making the score depending on the attempt is not possible with default functionality, it is possible with custom question slides, but then the reporting to LMS is another issue. You should try to do it by JS, or if you only need SWF-output you could use the Master widget by InfoSemantics.
Link score to attempts in Custom questions - Captivate blog
Lilybiri -
AS3 sound pause/play buttons not working
I have three buttons:play_btn, pause_btn; and stop_btn within a movie clip labeled controller.
I can't make the play button start where the pause button is left. Everytime, the sounds starts from the beginning.
Please help!
var mySoundReq65:URLRequest = new URLRequest("sounds/pronouns.mp3");
var mySound65:Sound = new Sound();
var mySoundChannel65:SoundChannel = new SoundChannel();
var lastPosition:uint= 0;
var isPlaying:Boolean = new Boolean();
var isPaused:Boolean= new Boolean();
mySound65.load(mySoundReq65);
controller.play_btn.addEventListener(MouseEvent. CLICK, playSound);
controller.pause_btn.addEventListener(MouseEvent. CLICK, pauseSound);
controller.stop_btn.addEventListener(MouseEvent. CLICK, stopSound);
// play sound
function playSound(event:MouseEvent): void{
if(!isPlaying){
mySoundChannel65 = mySound65.play();
if(isPaused) {
lastPosition=Math.floor(mySoundChannel65.position);
mySoundChannel65 = mySound65.play(lastPosition);
isPlaying=true;
// pause sound
function pauseSound(event:MouseEvent): void{
if(isPlaying)
lastPosition=Math.floor(mySoundChannel65.position);
mySoundChannel65.stop();
isPlaying=false;
isPaused=false;
else if (isPaused){
mySoundChannel65=mySound65.play();
isPlaying=true;
isPaused=false;
// stop sound
function stopSound(event:MouseEvent): void{
SoundMixer.stopAll();
lastPosition=0;
mySoundChannel65.stop();
isPlaying=false;
Thanks in advance for any help.Kglad:
Thanks for replying again. I fixed my script and it's working fine now. The final script is as follows:
var mySound65:Sound = new Sound();
var mySoundChannel65:SoundChannel = new SoundChannel();
var lastPosition:Number= 0;
mySound65.load(new URLRequest("sounds/pronouns.mp3"));
var isPlaying:Boolean = new Boolean();
controller.play_btn.addEventListener(MouseEvent. CLICK, playSound);
controller.pause_btn.addEventListener(MouseEvent. CLICK, pauseSound);
controller.stop_btn.addEventListener(MouseEvent. CLICK, stopSound);
// play sound
function playSound(event:MouseEvent): void{
if(!isPlaying){
mySoundChannel65 = mySound65.play();
isPlaying=true;
if(lastPosition>0) {
mySoundChannel65 = mySound65.play(lastPosition);
controller.play_btn.visible=false;
controller.pause_btn.visible=true;
// pause sound
function pauseSound(event:MouseEvent): void{
lastPosition = mySoundChannel65.position;
mySoundChannel65.stop();
controller.play_btn.visible=true;
controller.pause_btn.visible=false;
// stop sound
function stopSound(event:MouseEvent): void{
SoundMixer.stopAll();
lastPosition=0;
mySoundChannel65.stop();
isPlaying=false;
controller.play_btn.visible=true;
I added a couple of things:
a) To avoid clicking the same button more than once, I made either pause or play button invisible.
b) The solution was to include the following conditional in the play button:
if(lastPosition>0) {
mySoundChannel65 = mySound65.play(lastPosition);
Thanks again! -
ITunes missing pause/play/ / buttons
For the past month (I believe sometime around the time I updated itunes to iTunes 11) I have been missing the section on my iTunes window that has the pause, play, >>, and << buttons and shows the status of the song (time wise). I am also missing the red, yellow, and green buttons on the upper left hand side and I am unable to click and drag the window around at all. I have googled this problem for hours and come up with nothing. Hoping someone here can help because for a long time the only way to stop a song from playing once it started was the quit iTunes. Now, just today I figured out that I can open the miniplayer on top of my iTunes window and that is better than having to close out of iTunes altogether, but I'd still like the features that are in the miniplayer to be available to me on my screen all the time like they always were in the past.
Hello 3isenuf,
Thanks for using Apple Support Communities.
I'd like you to please reinstall iTunes by following the steps below.
Download the latest installer
Open Safari or another web browser.
Go to the iTunes download webpage and click the Free Download button.
Make sure that the Mac OS X version is selected on that page.
Click the Download button to start the download.
Once the file is downloaded, a new Finder window appears containing two items (below). If a Finder window doesn't appear, locate the iTunesX.dmg file (where X is the iTunes version number) on the desktop (or wherever your downloads go) and double-click it to display these items:
A "Read Before You Install iTunes" file. This document contains the system requirements for the version of iTunes, and may contain other useful information about installing.
An iTunes.mpkg file (this is the installer file itself)
Install iTunes
Quit iTunes if it is currently open.
Double-click the iTunes.mpkg file. This opens the Installer application in Mac OS X.
Follow the instructions in the installer screens. If all of the installation components appear unchecked and dimmed (unavailable, and therefore not installable), refer to Mac OS X iTunes installer components are disabled.
After the installation has completed, quit the Installer and restart the computer. The new version of iTunes appears on your hard disk in your Applications folder.
Opening iTunes
It's possible that clicking the iTunes icon in your Dock or double-clicking an iTunes icon on your desktop could open an older version of iTunes. Open iTunes from the Applications folder to be sure you are opening the right version:
Double-click your hard disk.
Double-click the Applications folder.
Double-click the iTunes icon.
If you notice another copy of iTunes in the Dock after following these steps, here's a way to take care of that:
Quit iTunes.
Drag the iTunes icon out of the Dock.
Drag the iTunes icon from the Applications folder to the Dock.
Troubleshooting iTunes installation on Mac OS X
http://support.apple.com/kb/HT2311
Take care,
Alex H. -
Does anyone know what would cause me to start hearing a talk program of some type after hitting the play button after it had been on pause. Hitting the pause button shuts off the talking, but hitting the play button starts it up again. The strange thing is that the talking continues even after I turn off my iPad. The talk program was about silly or trendy news items, not regular news. It sounds like it could be a talk-radio program, but there were no call letters or information on where it was coming from or who was talking. The person doing all the talking is a male and sounds like he could be in his 20's. The only way I could turn it off was to hit the pause button and then turn off my iPad. I just got my iPad last week and had not had any problems with it until this happened. At the time this happened I was playing a version of Angry Birds that kept being interrupted by t-mobile commercials from time to time, which I had never experienced before. either.
Well, shut my mouth! There was a similar question over to the right about a 6th generation nano repeating over and over again -- I read the answer to that one, followed the instructions, and holy crap, it's back to normal.
Is there a name for this when you end up replying to your own aggravating question? That's what I did. Now I can go out and listen. It's only 91 degrees. Heaven. Thanks, Apple. -
Does having the iPod on pause - play have an adverse affect on battery life???
U it will use some battery so if your going to be away from it for a long while just hold down the play pause button until the ipod screen blacks out. This will save battery life too.
Maybe you are looking for
-
On top of this every time I open Photoshop this afternoon, the program freezes. I currently can not get the program closed without shutting down my laptop. I can't even minimize it on my screen.
-
PB not deteting data projector
Hi, My laptop is not detecting an external data projector. It sees the projector at the initial startup during the gray screen and apple icon. But as soon at the Mac OS X startup icon appears it drops the signal and the projector screen turns blue. T
-
StageVideoAvailability event not found in 10.2 player
I am using Flash CS5 to author an app that uses StageVideo. I am able to successfully compile, but when playing back using Flash Player 10.2, the following error is thrown: VerifyError: Error #1014: Class flash.events::StageVideoAvailabilityEvent
-
Why my itunes can't link to the itunes store? my internet is functional.
why my itunes can't link to the itunes store? my internet is functional.
-
i'm planning to do a IDM POC.. Please let me know if u need any more software besides the ones below .. Windows 2000/2003 Server Oracle Database or some good database like MS SQL Oracle Application Server 10g r3 (3CDs) IDM components like Oracle Iden