RdcmndCC
I am creating a custom navigation bar that will control a
loaded captivate swf in Flash. I can get all the buttons to work
except for the show hide cc text button. Here is the code I am
using:
on(release)
empty_mc.rdcmndCC = 1;
Any thoughts on why this does not work?
Similar Messages
-
Playback control buttons appear reversed!
I made my own playback buttons (I've done this before without
any trouble), in the prewiew of the playback buttons the preview
displays them correctly. However, when I publish the movie the
buttons appear in the reversed order.
Any idea what;s going on???
L.NSince you're skilled enough to build your own buttons, then
perhaps you'll find this code useful. Publish it as an SWF and
insert it into the first slide of your Captivate2 project.
You'll find content here that ought to be shared with the
community of users via documentation or an API, but hasn't.
While there are coding techniques that could simplify this
code, this is at least easy to understand.
Happy to help.
stop();
// This script rearranges the buttons on Captivate's skin
// so that the Close Caption and Audio buttons are on the
left
// instead of the right. (All buttons are resequenced.)
// Hide the playbar during rearrangement
_root.rdcmndHidePlaybar = 1;
// Get the name of the playbar container
var containerName = this._parent._parent._parent._name;
if (containerName == "cpSkinLoader_mc")
// Borders are displayed; playbar is external to main movie
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcCC_mc._x
= 15;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcAudioOff_mc._x
= 45;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcAudioOn_mc._x
= 45;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcRewind_mc._x
= 89;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc._x
= 137;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcBack_mc._x
= 184;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcPause_mc._x
= 225;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcPlay_mc._x
= 225;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcForward_mc._x
= 266;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcExit_mc._x
= 305;
this._parent._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcInfo_mc._visible
= false;
// Enable Closed Captioning by default
this._parent._parent._parent.rdcmndCC=1;
else
// Borders are not enabled; playbar is internal to main
movie
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcCC_mc._x =
15;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcAudioOff_mc._x
= 45;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcAudioOn_mc._x
= 45;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcRewind_mc._x
= 89;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc._x
= 137;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcBack_mc._x =
184;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcPause_mc._x =
225;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcPlay_mc._x =
225;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcForward_mc._x
= 266;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcExit_mc._x =
305;
this._parent._parent._parent.cpPbcBar_mc.pbcBar_mc.pbcInfo_mc._visible
= false;
// Enable Closed Captioning by default
this._parent._parent.rdcmndCC=1;
// Show the Playbar
_root.rdcmndHidePlaybar = 0;
Maybe you are looking for
-
Clash of clans
-
I was able to install and have an icon on my desktop. When i click on it it automatically pops a box up that says: Firefox has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a
-
Call of Duty & G5 1.6 Install Issue
I just purchased for my dad a used G5 iMac 1.6 Ghz with the nVIDIA GeForce FX 5200 (64 MB) and he bought Call of Duty for Mac. It installed fine but when you try to play single player, it starts up and displays an orange box in a window and then goes
-
Does anyone have problems attaching a photo in an email or sending a picture in an email?
I am having problems sending photos in email messages. Could my settings be off?
-
Hi all. We have a cisco 2851 with a VWIC-2MFT-E1 interface and 2 pvdm2 64. We have also a sony video station registerd (sccp) on our Callmanager (4.2). We are trying to receive a video call from a remote H320 video station. A show voice call summary