Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

User variables from Captivate 6

Explorer ,
Jan 04, 2013 Jan 04, 2013

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.

TOPICS
ActionScript
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 10, 2013 May 10, 2013
LATEST

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;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines