Skip to main content
Inspiring
January 4, 2013
Question

User variables from Captivate 6

  • January 4, 2013
  • 1 reply
  • 1078 views

Using Flash Pro CS 6 and Captivate 6

I recently updated Captivate from 5/5.5 to 6.  What used to work doesn't anymore.

I have user variables in Captivate that are pulled into Flash using AS3. These are then used to populate a Dynamic text field.

I created a simple test slide in Captivate, adding the flash animation.  The AS3 code is:

----------------------

import flash.display.MovieClip;
var captivate:MovieClip = MovieClip (this);
var cappie:MovieClip = MovieClip (captivate.parent.root);

Biff.text = cappie.Botox;

----------------------------

Biff is the name of the Dynamic Text field on the flash stage.

Botox is the user variable name in Captivate.

Works flawlessly in 5.5, but not at all in 6.0.

Did Adobe break something in 6.0?  Or did they change the code?  Or could I do it another way?

FYI System variables are fine in 6.0.  For example:

Biff.text = cappie.cpInfoCurrentSlideLabel;

I can read and change user variables through AS3, just not display them, it seems.

Does anyone have any insight?  Thanks.

This topic has been closed for replies.

1 reply

Participant
May 10, 2013

Same here.....

The followed AS3 worked on CP 5.5. but no more with CP 6.0.

Please need help............

----------------------------------------------------------------------

import flash.external.ExternalInterface;

import flash.events.Event;

var myRoot:MovieClip = MovieClip(root);

var cptxMovie:MovieClip = MovieClip(myRoot.parent.root);

info_btn.addEventListener(MouseEvent.CLICK, _openHandler);

function _openHandler(e:Event):void

{

          if (info_menu.currentFrame == 1)

          {

                    info_menu.gotoAndStop(2);

 

          }

          else

          {

                    info_menu.gotoAndStop(1);

          }

}

info_menu.addEventListener(MouseEvent.CLICK, itemButtons);

/* Menü auf einklappen */

function itemButtons(evt:MouseEvent):void

{

          switch (evt.target)

          {

 

 

 

                    case info_menu.item1_btn :

                              cptxMovie.MClipSlide = 1;

                        cptxMovie.cpCmndGotoSlide = 1;

                              info_menu.gotoAndStop(1);

                              break;

}