Skip to main content

Posts

Showing posts from January, 2006

Web:DoCoMo starts to sell 3G FOMA mobile phones with Windows Mobile 5 OS

Last week I heard news from my friend in Japan about Japan's operator that they no longer market their handset with their own OS.It start this year on 2006.I didnt think that would be problem for Flash lite developer so far....until....

I just read this article :
DoCoMo quits FlashLite to sell Windows OS phones



I really want to know what will happen next. On Dec '05, i still have possibilities to develope some wallpaper in Flash lite environmnet. I hope Windows Mobile 5 OS be equipped with Flash lite just like some operators in Japan does.

What Is Flash Lite?

Flash Lite is the Flash technology specifically developed for mobile phones and consumer electronics devices. Flash Lite dramatically accelerates the delivery of rich content and browsing, and customized user interfaces. Designers and developers now have a new level of expressiveness, efficiency and interactivity for content creation. Flash Lite has seen explosive adoption by OEMs, operators and developers in Japan and Asia, and is quickly growing worldwide. This growth is driven by the mature Flash authoring environment and rendering engine that delivers enhanced content and browsing, customized UI & a rich mobile experience across devices.

Coding : Best Practice for Key Detection in Flash Lite 2

Tips using key Detection from luar Using Button

In Flash Lite 1.1, if we want to detect a key press (single press or continuous press), we need to attach the code to a button:

keyPress “”{
no += 1;
}

In Flash Lite 2, we can use back modern ActionScript, use Movie Clip or Object to do the key detection, for example:

Using Movie Clip as Key Listener

mc.onKeyDown = function(){
switch(Key.getCode()) {
case Key.UP :
no += 1;
break;
}
};
Key.addListener(mc);
Using Object as Key Listener
obj = new Object();
obj.onKeyDown = function(){
switch(Key.getCode()){
case Key.UP:
no += 1;
break;
}
}
Key.addListener(obj);

However, using key listener has a side effect, you cannot detect continuous key press (press the key without release). If you want to detect continuous key press, you need to use an

MovieClip.onEnterFrame:

mc.onEnterFrame = function(){
if(Key.isDown(Key.UP)){
no += 1;
}
};
//Key.addListener(obj);

By the way, I find the Flash Lite 2 emulator is even worse than Flash Lite 1.1 emulator because the latter one support pre…

Flash Lite 1.1 and 2.0 installation conflict

Alessandro posted on the Yahoo Flash Lite User Group to install Flash Lite 2.0 on a phone which had already Flash Lite 1.1 installed.
A workaround could be the following (I did not try but thoretically should work):Unsis one of the players on your PCcreate a pkg filereplace the UID with another one and make any necessary changes to file names)create a SIS using makesistry to installAlessandro

Play, send your score & Win

This is one easy way to get IPod Nano with play Flashlite Game on Your handset.

The aim of this game is to avoid contact with the crazy virulent chicks and to get hold of maximum amount of anti-flu vials.

By submitting your scores the best palyers will have the chanc to receive amazing gifts.

The game is played with up/down keys.

Are you ready? get start with click here.

Coding : Creating Trials for Flash Lite Apps (Part II)

Another tips from Richard Leggett in creating a 10 day trial Flash Lite application.

In Flash Lite 2.0, we can do this with Local Shared Objects, this is also great to keep the information from prying eyes as you have to know where to look for the SO's in order to try and crack them, the down side is that a little bit of digging a while back showed they look fairly similar (if not the same) as desktop Flash Player SO's and therefore there are already tools available to read them. Either way, they are a boon to Flash Lite development for many other reasons.However, we aren't able to use SO's in Flash Lite 1.1, so we are going to use a very simple EXE bundled with the app to write to and update a text file, "config.dat".The first step is to create a new Flash Lite 1.1 FLA, and create a sub-folder in it's directory called "config". Into this we put our EXE, Christian Halbach's flash2file (for which the source is available), and a plain text file…

Nokia 6125 With FlashLite on Sale

As its report on Nokia, they launched 6125 with with Flash Lite pre-installed.

And because mobile phones are about so much more than making calls, you can set it to flight mode and use the calendar, music player, or games while you're in the air.

Bad news is, they only sell it on Europe, Middle East, Africa :(

Coding : To Center Loaded Image Tips

We have to wait until the image is fully loaded before you can get it's dimensions, (so that is the onLoad handler in Flash Lite 2, with Flash Lite 1.1 you'll have to embed the image in a swf and use the _framesloaded and _totalframes to check if it is fully loaded). With that done you can access the _width and _height and use:


my_mc._x = Stage.width/2 - my_mc._width/2; my_mc._y = Stage.height/2 - my_mc._height/2

Coding:Creating Trials for Flash Lite Apps

This is Richard Legger answer for David Williams question on the Flash Lite Yahoo Group asks, how do I make time limited trials in Flash Lite 1.1?There are a few options to consider:Time out after a few minutes each time.Time out after X days and never run again. Lose functionality after X days or weeks.Unfortunately it is getting late and I have work to do, so I've only got time to cover the first in that list, but I'm still writing my book on Flash Lite which is due March, and that will have detailed instructions and samples for each - end plug.So the code for the first example is very simple, and I've included an FLA which contains a movie clip in the library that you can simply drag into your game or app to make sure it exits 3 minutes after starting up.First up, create a new Flash document using a mobile template, and create a new movie clip, called "TrialMaker". Edit that movie clip and type the following code on frame 1:timeout = 180;
startTime = getTimer()…

Set Numeric Input

This is one trick to set up our form variable into numeric.

The fscommand2 is SetInputTextType, and it works on 6620.

You have to be sure that "variableName" matches the variable that you've
assigned to the text field, e.g. if your text field property has the
"Var:" property set to input1, you should use

fscommand2("SetInputTextType", "input1", "Numeric");

Button Skema

Using Button
In Flash Lite 1.1, if we want to detect a key press (single press or continuous press), we need to attach the code to a button: on (keyPress "") {
no += 1;
} In Flash Lite 2, we can use back modern ActionScript, use Movie Clip or Object to do the key detection, for example:

Using Movie Clip as Key Listenermc.onKeyDown = function() {
switch (Key.getCode()) {
case Key.UP :
no += 1;
break;
}
};
Key.addListener(mc);
Using Object as Key Listenerobj = new Object();
obj.onKeyDown = function() {
switch (Key.getCode()) {
case Key.UP :
no += 1;
break;
}
};
Key.addListener(obj); However, using key listener has a side effect, you cannot detect continuous key press (press the key without release). If you want to detect continuous key press, you need to use an MovieClip.onEnterFrame: mc.onEnterFrame = function() {
if (Key.isDown(Key.UP)) {
no += 1;
}
};
// Key.addListener(obj); By the way, I find the Flash Lite 2 emulator is even worse than Flash Lite …

FL 1.1 dan Unicode

Flash Lite 1.1 tidak mendukung Unicode, kita tidak bisa melihat non-English (Latin) denga tipe data dinamik di Flash Lite konten. Berbeda dengan Flash Lite 2.0 . Bagaimanapun, dukungan kemampuan ini terbatas untuk kriteria tertentu, misalnya,bila ingin memperlihatkan dinamik dengan karakter berbahasa Cina, handset kita mesti diseting dengan tampilan Chinese terlebih dahulu.

Daftar Handset yang support FL 2.0

Berikut daftar handset nokia yang mendukung Flashlite Player 2.0 :
Nokia 3230Nokia 6260Nokia 6620Nokia 6630Nokia 6670Nokia 6680Nokia 6681Nokia 6682Nokia 7610Nokia N70Nokia N90(catatan : Handset tersebut adalah Nokia seri 60 2nd Edition, Feature Pack 1 (Version 2.1))

Flashlite 2.0 telah dirilis

Resmi- Flash Lite 2 Update for Flash Professional 8 sekarang tersedia untuk didownload di Adobe (formerly Macromedia) Labs website.

Update ini akan menambahkan fitur resmi Flash Lite 2-di Flash Professional 8 yang telah terinstall hingga kita bisa memulai kesibukan segera. Jika kita beruntung melihatnya sebelum liburan, Flash Lite 2.0 mobile player sepertinya masih tersembunyidi Macromedia.com online store. Selamat mencoba!