Captivate tip: toggling the controller’s visibility

You may be familiar with the famous “Captivate variables” (see page 201 in PDF link), but did you know about “rdcmndHidePlaybar”? It isn’t mentioned by Adobe in their documentation, but it’s a handy one to know about.

You can toggle the Captivate playbar’s visibility by importing two Flash SWFs that each contain a single line of ActionScript.

Hiding the playbar

To hide the playbar, import a SWF containing the following line of ActionScript:

For Captivate projects using a ’skin’:

_root.cpSkinLoader_mc.rdcmndHidePlaybar = 1;

For Captivate projects without a skin OR using a skin with no border:

_root.rdcmndHidePlaybar = 1;

Showing the playbar

To show/restore the playbar, import a SWF containing the following line of ActionScript:
For Captivate projects using a ’skin’:

_root.cpSkinLoader_mc.rdcmndHidePlaybar = 0;

For Captivate projects without a skin OR using a skin with no border:

_root.rdcmndHidePlaybar = 0;

Tip: You can also control the Captivate SWF using JavaScript.

Thanks to Paul at RaisingAimee.co.uk for the Captivate variables info.

2 Responses to “Captivate tip: toggling the controller’s visibility”

  1. Brian Dusablon

    Cool, thanks for the tip!

  2. Mark

    Cool. You can also do this similarly in Adobe Connect/Breeze and turn off its playbar (I only mention because many people deploy their Captivates wrapped in Connect Presenter). Code swf to hide/unhide in the Captivate as follows:

    _root.m_controlBar.enabled = false;

Leave a Reply

Use my LAST NAME as the code. It can be found in the page footer. Be careful not to misspell it.

Comment moderation is in use. Please do not submit your comment twice — it will appear shortly.

Comments for this post will be closed in 3 days.