Skip navigation
Currently Being Moderated

Using Captivate 6 files in Flash Builder?

Feb 6, 2013 6:18 PM

Tags: #swf #captivate #flash_builder_4.6

Hello.

 

I built a short quiz in Captivate 6 and published the project in HTML5 files and as an SWF file. I'm working on a flex mobile project in Flash Builder 4.6 and  I want to incorporate the Captivate quiz into this project. I can load the SWF using <s:SWFLoader id="loader" source="quiz/quiz.swf" />, but when I run the application the file doesn't play. When I use the debug tool, I receive the following error:

[SWF] CMT.swf - 3,695,040 bytes after decompression

[SWF] quiz/quiz.swf - 1,507,465 bytes after decompression

[SWF] quiz/quiz.swf/[[DYNAMIC]]/1 - 18,058 bytes after decompression

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

          at Function/<anonymous>()

 

Information from the view that the SWF file is loaded into:

<?xml version="1.0" encoding="utf-8"?>

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

                    xmlns:s="library://ns.adobe.com/flex/spark"

                    title="'{data}' Test">

 

 

          <fx:Declarations>

                    <!-- Place non-visual elements (e.g., services, value objects) here -->

          </fx:Declarations>

 

 

          <s:SWFLoader id="loader" source="quiz/quiz.swf" />

 

</s:View>

 

 

I'm not sure how to go about fixing this problem. Is it just not possible to incorporate an SWF file not produced in Adobe Flash ? If so, would I be able to incorporate the HTML5 files instead?

 

 

Thank you for any help you could provide!

TJ

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points