0 Replies Latest reply: Aug 3, 2010 1:03 PM by yjia70 RSS

    Grab custom Captivate variables from Flash 8

    yjia70 Community Member

      Hi, I was wondering if someone could help me out here. I have a Captivate (version 4) lesson embedded in a Flash container. I used the following statement to load it into a movieclip called "contentHolder" in Flash.

       

      loadMovie ("smallLesson.swf", "contentHolder");

       

      Now I need to pass a user-defined variable from Captivate to Flash. I don't know how to go about doing that.

       

      I can grab the built-in Captivate variables OK (myVar = contentHolder.rdinfoSlideCount grabs the total number of slides in the Captivate lesson, but when I try to grab a custom variable using similar syntax myVar = contentHolder.someCustomVar, myVar shows up as undefined. What am I doing wrong here?

       

      Thanks.