[Laszlo-dev] SWF9 and video / adding import statements for AS3 in LZX classes

Raju Bitter openlaszlonaut at googlemail.com
Sun Jun 1 05:38:37 PDT 2008


I tried to run the video test in the test folder (FLV progressive):

/trunk/test/video/test-video.lzx


The compiler showed errors since the imports were missing in the AS3 files
ERRORS: 
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$class_mediastream.as: 94]
line unknown: Error: Call to a possibly undefined method NetConnection.
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$class_mediastream.as: 124]
line unknown: Error: Call to a possibly undefined method NetStream.
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$class_videoview.as: 18]
line unknown: Error: Call to a possibly undefined method Sound.

How do you manage addition of import statements in LZX files if the import
statements are SWF9 runtime specific?

Thanks,
Raju




More information about the Laszlo-dev mailing list