Skip to main content
somascope
Inspiring
March 4, 2008
Question

Cannot use the progress bar to advance in presentation

  • March 4, 2008
  • 2 replies
  • 378 views
I have a Captivate file done with Captivate 3, published to Flash player 9 that is being loaded into Flash AS3. The captivate is a simple recording of some mouse clicks in a browser. I am displaying the playbar along the bottom, and its buttons all work fine except for the progress bar, where you can drag the knob and scrub back & forth in your presentation.

This progress bar is not working as it should. I see the mouse cursor change to a hand, but when I click I cannot drag the knob to control the progress bar. The other buttons in the playbar do work (replay, pause, play, back, forward).

This is a unique problem in that it is only happening when viewed in IE (7) when loaded into my Flash AS3 project. When viewed in Firefox in my project, or as a standalone SWF, or as a SWF simply embedded onto a plain HTML page, it works just fine.

Does anybody have any insight?
    This topic has been closed for replies.

    2 replies

    pipwerks
    Inspiring
    April 5, 2008
    All AS2 files loaded into AS3 'parent' SWFs are sandboxed and can't directly communicate with the AS3 SWF. Captivate SWFs are all AS2 (for now anyway). This means you can't directly control a Captivate SWF from an AS3 SWF because you can't directly communicate with it.

    However, there IS a workaround... I created an AS3 class named LegacyCaptivateLoader that uses ExternalInterface and a proxy SWF to bridge the communication. It has built-in support for controlling and querying Captivate SWFs.

    Sample AS3 syntax:

    var captivate = new LegacyCaptivateLoader("playerAS3", "sample-captivate-movie.swf");
    addChild(captivate);
    captivate.control("rdcmndHidePlaybar");
    var currentframe:Number = captivate.query("rdinfoCurrentFrame");
    trace(currentframe);

    You can read more and get the files here:
    http://pipwerks.com/journal/2008/04/03/new-legacycaptivateloader-class

    Hope that helps. :)

    - philip
    Known Participant
    March 5, 2008
    I don't know that I can offer much, but Captivate 3 only supports AS2. And, Flash 9e.ocx and IE7 don't play nice together. There have been several issues posted on the Flash Player forum regarding Flash9e issues.
    somascope
    somascopeAuthor
    Inspiring
    March 9, 2008
    Well, if anything this helps direct me to "known issues" - so thanks for that.