Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

Using Captivate 6 files in Flash Builder?

$
0
0

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


Viewing all articles
Browse latest Browse all 1802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>