Skip to main content
September 1, 2006
Question

Importing ActionScript

  • September 1, 2006
  • 3 replies
  • 321 views
I need to put some ActionScript in my files. I have been creating them in Flash, then importing them as SWF animation into the Captivate file. I have been getting unreliable results. Is there any general information someone can give me on how Captivate handles the ActionScript in this situation?

What I am trying to do is create commands that will tell other movies to start preloading when the first movie in a sequence loads. That way when the first movie finishes playing, the others will just pop up ready to go.

(I know the more straightforward solution is to export the file to Flash, but a lot of very important key features are ruined or changed in the process, so this is not an option for me.)
This topic has been closed for replies.

3 replies

CatBandit
Inspiring
September 27, 2006
Hi Chris,
The variables mentioned (as you know) are used in AS that is published from Flash as SWF, then inserted into Captivate. If I'm understanding your question correctly, the question is not whether Captivate supports the variables, so much as whether or not Captivate still supports the earlier versions of action-script (I think) . . .

. . . and so far as I know, the answer is "Yes", Captivate Deux is backwardly compatible with Flash animations and should work equally well with AS 2.0 or 1.0.

Idiot disclaimer: As an Idiot in good standing, I stand to be corrected by someone who is smarter than I, and who has been there (at beta). Jump right in.
.
October 16, 2006
yes, the set of variables (like rdcmndPause etc) is still functioning in captivate 2.

regards,
freakward
Participant
September 27, 2006
Larry,

Sorry to go off topic here, and bring this dead thread back up, but i have a question that relates to the above you just posted.

do you know if these proprietary variables are going to stay around with new release of Captivate. We use these pretty extensively with a custom built GUI system that tracks and controls the swfs from CP, so we can have XML driven scripts, dynamic screens, etc.

Will this kind of use still be available or are we loosing that?

Thanks in advanced,
Chris
CatBandit
Inspiring
September 12, 2006
Use Flash version 6.0 and AS 1.0. Those are really the only rules that I know - your SWF (a.s.) animations should work, but . . .

Keep in mind if you are trying to address (control) the Captivate SWF with your action script, there are some proprietary variables for Captivate (left over from the RoboDemo days). They can be found in Captivate's "Help" system. Open the SEARCH tab and type in "List Variables" and you should get the page displaying all available variables along with the function of each.

HTH
.