Skip to main content
Inspiring
November 28, 2007
Answered

Do imported SWFs retain their ActionScript in Captivate?...

  • November 28, 2007
  • 1 reply
  • 268 views
If I do an "Import--->Animation" to add a SWF to a slide of my Captivate3 project, will that SWF's actionscript still function properly? Like, if I load the published captivate SWF into a different main Flash SWF (using "loadMovie", for example), will any SWFs that were imported into the Captivate project be able to reference the main Flash SWF using "_root"?...

Thanks!

    This topic has been closed for replies.
    Correct answer Newsgroup_User
    Yeap, pretty sure they do, but your '_root' references likely won't work
    as you're putting a SWF inside a SWF (that's also likely compiled inside
    a SWF). Note an earlier post where the fix was to preface the functions
    with something like four ._root prefixes...
    I have no idea if loadMovie will still work, but can't hurt to try.
    Erik

    DIY_Lobotomy wrote:
    > If I do an "Import--->Animation" to add a SWF to a slide of my Captivate3
    > project, will that SWF's actionscript still function properly? Like, if I load
    > the published captivate SWF into a different main Flash SWF (using "loadMovie",
    > for example), will any SWFs that were imported into the Captivate project be
    > able to reference the main Flash SWF using "_root"?...
    >
    > Thanks!
    >
    >
    >

    --
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    ------------------------------------------------------------------------
    http://www.awaretips.net - samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

    1 reply

    Newsgroup_UserCorrect answer
    Inspiring
    November 29, 2007
    Yeap, pretty sure they do, but your '_root' references likely won't work
    as you're putting a SWF inside a SWF (that's also likely compiled inside
    a SWF). Note an earlier post where the fix was to preface the functions
    with something like four ._root prefixes...
    I have no idea if loadMovie will still work, but can't hurt to try.
    Erik

    DIY_Lobotomy wrote:
    > If I do an "Import--->Animation" to add a SWF to a slide of my Captivate3
    > project, will that SWF's actionscript still function properly? Like, if I load
    > the published captivate SWF into a different main Flash SWF (using "loadMovie",
    > for example), will any SWFs that were imported into the Captivate project be
    > able to reference the main Flash SWF using "_root"?...
    >
    > Thanks!
    >
    >
    >

    --
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    ------------------------------------------------------------------------
    http://www.awaretips.net - samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware
    Inspiring
    November 29, 2007
    That worked - thanks!!!