I'm trying to track down an error when loading an html page,

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()
at mx.managers::SystemManager/docFrameListener()

that is running this code,

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="main" width="100%" height="100%"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab";>
<param name="movie" value="main.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#869ca7" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="main.swf" quality="high" bgcolor="#869ca7"
width="100%" height="100%" name="main" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer";>
</embed>
</object>

I'm compiled using a debug parameter in the SWF compile, but no addtional 
information is available in the error message.  I don't know if it's 
something I'm doing the compile or if the code needs to be changed. I'm 
migrating a project from using Flexbuilder to use flexmojos. TIA for any 
direction or assistance tracing the error.

<execution>
<id>compile</id>
<goals>
<goal>compile-swf</goal>
</goals>
<configuration>
*<debug>true</debug>*
<!-- compile multiple MXML in the same project -->
<modules>
<!-- <module> <sourceFile>Module3.mxml</sourceFile><finalName></finalName> 
<optimize>false</optimize> <finalName>MyModule</finalName> 
<destinationPath>dir1/dir2</destinationPath> 
</module> -->
<module>
<sourceFile>main.mxml</sourceFile>
<finalName>main</finalName>
</module>
</modules>
</configuration>
</execution>


-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to