This morning I talk with Fabio, a friend of mine, and he asks me if I’ve ever loaded an FLV file in Flash Lite 3 from web.
I don’t start to use FL3 since this morning because there aren’t enable devices and also I think that we could use it only in the end of 2008 to have some devices in the market with it.
In Flash Lite 3, when you want to load web data (images, video or anything else), you MUST set, in Publish Settings, network access only.
When I worked with Flash Lite 2 we don’t need to set network access to load external data.
So for example in Flash Lite 2 we load an external 3gp video (there isn’t FLV support in FL2) we write:
//video_vd is an istance of video object that is in library
in Flash Lite 3 we use NetConnection class:
var nc:NetConnection = new NetConnection;
var ns:NetStream = new NetStream(nc);