Skip to main content
Participant
July 29, 2011
Question

Accessing Captivate 5.5 variables from embedded SWFs

  • July 29, 2011
  • 1 reply
  • 829 views

Hi,

as we all know the interface for accessing Captivate variables from embedded SWFs tends to change between Captivate versions. Shortly after it's release we upgraded to version 5.5, and I'm not succeeding in accessing the Captivate variables in my Flash/AS3 code the same way it was done in version 5.

How should I access the Captivate 5.5 variables (rdinfoCurrentSlide et al) from my SWFs?

    This topic has been closed for replies.

    1 reply

    Known Participant
    June 8, 2012

    Would you mind sharing how you accessed the variables from version 5? I can't seem to get the current slide number and it is making me a bit nuts.

    Thanks for any help you can provide.

    Cheers!

    MJL

    Adobe Employee
    June 11, 2012

    Hi,

    You can use system variable : cpInfoCurrentSlide to show the slide number.

    So you can use text captions to display the value of the variable, the format for displaying the value stored in the variable is $$<system variable>$$. So for slide number use : $$cpInfoCurrentSlide$$, type this in the text caption and then check it in the preview.

    Thanks

    Lilybiri
    Legend
    June 11, 2012

    Aditya,

    Perhaps I'm misunderstanding the question, but I understood the question to be not about showing values of system variables in Captivate but how to access the CP-variables in Flash, by AS? There are some threads about it, and I would recommend having a look on Jim Leichliter's blog (CaptivatePro).

    Lilybiri