Flash Lite 3: load external data

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 
video_vd.play("http://www.mart3.co.uk/video.3gp");
in Flash Lite 3 we use NetConnection class:
var nc:NetConnection = new NetConnection;
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.play("http://www.mart3.co.uk/flvfl3/phone.flv")
video_vd.attachVideo(ns); 

A big THANK YOU to Alessandro!Update: Talking with Scott I found a recent post of Nick Gerig about security model of Flash Lite 3 that explains well the problem.

Advertisement

Flash Lite 3 & Zinc 3.0, new softwares released this weekend

This weekend Adobe announced that is ready new flash lite version developer edition, dowloadable for free from labs.adobe.com.
Remember that you can develop flash lite 3 contents only if you upgrade Flash CS3 and Device Central.
More information about features and files to download you can see at Bill Perry’s blog.
If you test this developer release in your device, remember to write in Flash Lite 3 Forum which device you are using!

You can also see Flash Lite 3 application in action from Biskero’s blog, very cool video!

Finally multidmedia announce Pandora project that is new Zinc version with new big features and optimization.
New features are (from Pandora’s devlab):

. Mac OSX Output will now be in Native Universal Binary and optimized for Mac 10.5 “Leopard”
. Windows Projectors will have been specifically optimized for Vista
. Windows & Mac OSX Projectors almost 500% faster than Zinc 2.5 Projectors
. The entire {mdm}Script API will now be 100% Modularized
. Dynamic Form Creation
. An extensive Custom Command SDK will be available for both Windows and Mac OSX Developers
. {mdm}Script 3.0 – Completely re-written from scratch and now Unicode (UTF8/UTF16) Compliant
. {mdm}Script 3.0 – Greater Similarity between Windows & Mac OSX Classes
. Completely New GUI on Windows & Mac OSX – Screenshots available in December 2007!
. Several other “Industry Firsts” to be revealed in December 2007!

Probably Zinc 3.0 will go out in January 2008 but a public BETA will be release in December.
So take a look at Multidmedia site!