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.N

    Since 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