A recent post in the e-learning development forum reminded me that I forgot to post some unpublished Captivate variables I dug up a while back.
A few months ago I wrote about the dilemma of trying to load Captivate SWFs into an ActionScript 3-based parent SWF.
I present to you the ActionScript 3 class LegacyCaptivateLoader. This class utilizes ExternalInterface and a proxy SWF to facilitate sending commands to and querying data from an ActionScript 2-based Captivate SWF.
You may be familiar with the famous “Captivate variables” (see page 201 in PDF link), but did you know about “rdcmndHidePlaybar”? It isn’t mentioned by Adobe in their documentation, but it’s a handy one to know about.
I researched the different methods available for AVM1 to AVM2 communication, and discovered there are a few workarounds that can enable the AS3 SWF to communicate with the AS2 SWF. I spent the entire day whipping up a Captivate-specific proof-of-concept.
Today was the day… I gave a presentation at the eLearning Guild’s DevLearn 2007 conference in San Jose. Topic? Captivate-to-Flash ActionScript Communication.