21 December 2005

Flash Lite 2 Player Officially Available (quick start tip at end)

Written by Richard Leggett ( Contact the author of this post )
Published on December 21st, 2005 @ 02:16:11 pm, using 324 words, 296 views

First of all Bill Perry has just confirmed that the Flash Lite 2 player is now available from the Adobe Store. Not wanting to re-iterate what he has said you can read the full post on his blog.

Secondly, you may be thinking it's a little strange to release a player without a way of developing content for it. Well there are a couple of things you can do; the first is to wait just a little while until the IDE update, docs and samples are released in January on Labs. But if you really can't wait to get coding, remember that the Flash Lite 2 player is based on the Flash 7 player and can therefore read SWF7 bytecode, so those itching to get AS2 on their phones can get publishing some Flash 7 files and you can immediately start playing with your existing library of classes on your handsets. But that does of course mean that there is no gaurentee that all SWF7 bytecodes/functions/objects are supported, and it also means you won't have access to any possible Flash Lite 2 specific objects and functionality until January, but it's a nice way to get into mobile dev over the holidays.

Now of course I'd suggest waiting till January, but I think it's pretty harmless to get a head start by using Flash 7 files in the new player until then, it means there'll be less to learn when the time comes. So here's a sample file, containing an FLA with the following timeline code:

MobileApp.main(this);

And the following class (MobileApp.as):

class MobileApp
{
private static var instance:MobileApp = null;
private var canvas:MovieClip = null;

/**
* Entry point
* @param	canvas	Graphical device context
*/
public static function main(canvas:MovieClip) : Void
{
instance = new MobileApp();
instance.canvas = canvas;
instance.helloWorld();
}

/**
* Constructor
*/
public function MobileApp()
{
}

private function helloWorld() : Void
{
canvas.createTextField("helloWorldTxt", 1, 20, 20, 0, 0);
var tf:TextField = canvas["helloWorldTxt"];
tf.autoSize = true;
tf.text = "Hello mobile world!";
}
}

Best wishes for the holidays!

Comments, Pingbacks:

Comment from: moikboy
That's great!
PermalinkPermalink 21/12/05 @ 16:27
Comment from: alistair
OOh it looks a lot of code to say hello world! LOL said by a non coder :-) but I can see the benefits its sooooo exciting - 2006 is going to be so big for mobile content!! Merry Christmas to every one and look fwd to catching up in the New Year!!
Cheers
Alistair
PermalinkPermalink 22/12/05 @ 17:36
Comment from: unknown
http://www.ringyourtone.com
PermalinkPermalink 05/01/06 @ 13:54
Comment from: Polop
But if you really can't wait to get coding, remember that the Flash Lite 2 player is based on the Flash 7 player and can therefore read SWF7 bytecode, so those itching to get AS2 on their phones can get publishing some sklepy akcesoria projekty praca iso bron seo londyn prezenty automatyka imiona aks praca
PermalinkPermalink 20/02/06 @ 03:04

Comments are closed for this post.

About

Richard Leggett is an RIA and Web Developer, co-founder of Ubrae Ltd. He is co-author of Foundation Flash Applications for Mobile Devices (Friends of ED), an Adobe Community Expert and speaker at industry conferences and user groups.



January 2009
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Categories

Miscellany

XML Feeds

Information

Contact the admin  /   b2evo template by Two18 Media