2 Replies Latest reply on Jul 22, 2015 2:37 AM by ynot327

    what settings need to be changed when we get errors loading a SWF (exported from Captivate 8) within a SWF (produced with Flash Pro (5/5.5)?


      Using Captivate 8, we have exported a SWF file that plays fine by itself or in a browser. It is a quiz activity, with multiple questions and screens.


      If we then try to load this SWF into another SWF file (shell interface), some components - namely things like radio buttons and select boxes - don't load correctly. The shell interface has been built in Flash 11 (CS5). Both SWFs are exported to play in Flash Player 10.


      If we use a different SWF file, also exported from Captivate 8, that doesn't have these types of components in them (say, just a video), the file loads perfectly fine from the same shell SWF. If we load other external SWF files from Flash or even video files, they play fine from the shell as well. The end goal is to have everything loaded onto a DVD, with the shell interface playing from a stand alone player, loading the external swfs which will also be on the DVD. The errors we are experiencing are just with the local files. Some of the errors that come up within the shell interface FLA file are:


      TypeError: Error #2007: Parameter child must be non-null.

        at flash.display::DisplayObjectContainer/addChildAt()

        at fl.controls::BaseButton/drawBackground()

        at com.adobe.captivate.components::CPComboBoxButton/drawBackground()

        at fl.controls::BaseButton/draw()

        at fl.core::UIComponent/callLaterDispatcher()

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

        at fl.controls::RadioButton/drawLayout()

        at fl.controls::LabelButton/draw()

        at fl.controls::RadioButton/draw()

        at fl.core::UIComponent/callLaterDispatcher()


      We are assuming there is a conflict with the component library in the shell FLA/SWF file and the same components that have been exported with the captivate swf, but there is no indication on how to resolve this conflict.


      Any advice would be greatly appreciated.