On 2009-11-23, at 07:05, cem sonmez wrote:

> But when i try the same operations with as3 way on swf10. Althought i have
> added lines below in order to add the flash classes to the application for
> as3, e.g last problem about this issue is an error, like : Error: Call to a
> possibly undefined method NetStream...
> 
> <switch>
>            <when property="$as3">
>                <passthrough>
>                    import flash.net.*;
>                    import flash.events.*;
>                </passthrough>
>            </when>
> </switch>

Possibly try explicitly importing flash.net.NetStream?  The fact that you are 
getting this warning from the compiler implies it does not think NetStream is 
defined.

> I am planning to try my applications just on swf10 env. But most of the
> time, it is a bit harder than swf8 to work without problem. Do you suggest
> swf10 development on openlaszlo platform for now.

We believe development directly on swf10 is working as well as swf8, although 
the runtime is stricter, so you will have to address any errors.

For detailed debugging, you can use the debug version of the Flash Player in 
combination with the Flex debugger.

See http://www.openlaszlo.org/pipermail/laszlo-dev/2009-March/020236.html

(Someone should write up how to use the flex debugger at wiki.openlaszlo.org.)



Reply via email to