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.
Information from the view that the SWF file is loaded into:
<?xml version="1.0" encoding="utf-8"?>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:SWFLoader id="loader" source="quiz/quiz.swf" />
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!