There is a &lt;switch&gt; statement, you can see it&#39;s use for example in <br>lps/components/debugger/library.lzx<br><br>It switches on the &quot;runtime&quot; attribute<br><br>&nbsp; &lt;switch&gt;<br>&nbsp;&nbsp;&nbsp; &lt;when runtime=&quot;dhtml&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- no debug window in DHTML, it is in its own iframe --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/when&gt;<br>&nbsp;&nbsp;&nbsp; &lt;otherwise&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include href=&quot;debugger.lzx&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/otherwise&gt;<br>&nbsp; &lt;/switch&gt;<br>
<br><div class="gmail_quote">On Sun, Jun 1, 2008 at 8:38 AM, Raju Bitter &lt;<a href="mailto:openlaszlonaut@googlemail.com">openlaszlonaut@googlemail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tried to run the video test in the test folder (FLV progressive):<br>
<br>
/trunk/test/video/test-video.lzx<br>
<br>
<br>
The compiler showed errors since the imports were missing in the AS3 files<br>
ERRORS:<br>
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$<a href="http://class_mediastream.as" target="_blank">class_mediastream.as</a>: 94]<br>
line unknown: Error: Call to a possibly undefined method NetConnection.<br>
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$<a href="http://class_mediastream.as" target="_blank">class_mediastream.as</a>: 124]<br>
line unknown: Error: Call to a possibly undefined method NetStream.<br>
[/Users/laszlo/flexprojekte/swf9runtime/src/$lzc$<a href="http://class_videoview.as" target="_blank">class_videoview.as</a>: 18]<br>
line unknown: Error: Call to a possibly undefined method Sound.<br>
<br>
How do you manage addition of import statements in LZX files if the import<br>
statements are SWF9 runtime specific?<br>
<br>
Thanks,<br>
<font color="#888888">Raju<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>