26 January 2006
Web:DoCoMo starts to sell 3G FOMA mobile phones with Windows Mobile 5 OS
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.
24 January 2006
Which handsets are certified to support Flash Lite 2?
Today's supported handsets include:
- Nokia 3230
- Nokia 6260
- Nokia 6620
- Nokia 6630
- Nokia 6670
- Nokia 6680
- Nokia 6681
- Nokia 6682
- Nokia 7610
- Nokia N70
- Nokia N90
Check back often for updates, as we continue to certify new devices. See the detailed list of Flash Lite supported devices.
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.
23 January 2006
Coding : Best Practice for Key Detection in Flash Lite 2
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 pressing keyboard for testing (single press or continuous press), no need to use the mouse to click the phone button.
Here is the summary of the above testing:
Continuous Pressing Detecting Method | Press without Release in Handset | Press phone button without Release | Press the key in the PC keyboard without Release | ||
FL 1.1 Emulator | FL 2 Emulator | FL 1.1 Emulator | FL 2 Emulator | ||
Button | Support (Slower) | Not Support | Not Support | Support | Not Support |
Object | Not Support | N/A | Not Support | N/A | Not Support |
Movie Clip | Not Support | N/A | Not Support | N/A | Not Support |
Movie Clip onEnterFrame | Support (Faster) | N/A | Support | N/A | Not Support |
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 PC
- create a pkg file
- replace the UID with another one and make any necessary changes to file names)
- create a SIS using makesis
- try to install
Alessandro
18 January 2006
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.
17 January 2006
Coding : Creating Trials for Flash Lite Apps (Part II)
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 named config.dat, which contains the following text:
uses=295
You might think that it's strange to set the number of uses to 295 to start, but this is because we are piping that number through a formula to figure out the real number:
Figure to store = 300 - (3n^2 + 5)
Where n is equal to the number of uses so far. So with that in mind, we can visualise a table to suit:
Number of uses: | Figure to store: |
0 | 295 |
1 | 292 |
2 | 283 |
3 | 268 |
4 | 247 |
5 | 220 |
6 | 287 |
7 | 148 |
8 | 103 |
9 | 52 |
Now that we can "hide" our number of uses in a not so obvious manner, we can go about hooking up our Flash Lite app with flash2file to read and write this value. On frame 1 I have the following code:
fscommand2("SetQuality", "high");
// Load in number of uses so far
uses = -1;
loadVariables("config.dat", "/");
On frame 2 the following:
// Loop until number of uses has loaded
if(uses != -1)
{
// Convert figure to useable value
// i.e. find x where x = 300 - (3n^2 + 5)
numUses = 300 - uses;
numUses = (numUses-5)/3;
numUses = (numUses==0) ? 0 : int(Math.sqrt(numUses));
// Display usage information
gotoAndStop(5);
}
else gotoAndStop(2);
...and finally on frame 5:
// Display number of uses
usesTxt = numUses add " uses so far";
if(numUses>=9) usesTxt = "Demo expired";
// Path to flash2file.exe
appname = "c:/documents/flash/flash2file.exe";
// Path to the file to write to
path = "c:/documents/flash/config.dat";
// Update numUses
numUses++;
uses = 300 - ((numUses*numUses)*3 + 5);
// Text to write to file
txt = "uses=" add uses;
// Update number of uses to text file
argument = appname add "," add path add "," add txt;
fscommand("Launch", argument);
As you've probably guessed, I've got a textfield with a variable name of "usesTxt", and not much else apart from the code. That's it. Now you could either exit the app, or display a nag if numUses is >= your desired figure.
Now we are ready to copy it all to the phone in order to allow flash2file to do its job... So our directory structure that we will mirror on the phone is as such:
- 10daytrial.swf
- config.dat
- flash2file.exe
Finally, copy the SWF and config folder to the phone's c:\documents\flash\ folder, and test the SWF. Ideally you would package this up as a SIS installer and get it to install to a non-public folder to better hide your config file.
You can download the finished project here - I have not included flash2file.exe as Christian has requested that you contact him for the latest version.
Summary:
This method is inherently insecure. The reason for this is that we are using some incredibly weak protection, simply using ord() and chr() to mask the number of uses is not really acceptable, but even if you did take the time to port md5 to Flash Lite 1.1 the SWF is still accessible, decompilable and crackable. There is nothing we can do about this, it happens on the web all the time. On the web we like to let the server deal with the security. On a phone we can do the same, but that might annoy the end user, so instead we need to look forward to some DRM integration and standardisation across the handset manufacturers in order for Flash Lite to leverage this functionality. One plus point is that mobile content is dirt cheap, it has to be; and it is therefore not usually worth the time it takes to crack even the simplest form of protection we might employ. The ringtones and mobile downloads industry is still booming even though people are able to bluetooth items for free.
Note if you are using the Flash Lite 2.0 player:
If using the FL2.0 player you will need to change the paths to c:\Nokia\Others or e:\Others for the Flash Lite player to pick up your SWF and for the app to function correctly.
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 :(
13 January 2006
Coding : To Center Loaded Image Tips
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();
Next up, create a keyframe on frame 10, and add the following:
if(getTimer()-startTime > timeout*1000)
{
fscommand("quit");
}
gotoAndPlay(2);
I chose frame 10, as this creates an automatic loop, a loop that doesn't execute code all that often thus having a negligable impact on your game execution speed whilst remaining fairly accurate (which we all know is essential for Flash Lite games). You can modify the value of timeout to any number of seconds you wish, I chose 3 minutes at Davids request.
If you are lucky enough to be using Flash Lite 2, you can simply add the following code to frame 1:
setInterval(function() { fscommand("quit"); }, 180000);
12 January 2006
Multi User Game
You can dopwnload here :
http://www.rawfish-software.com/index.php
Set Numeric Input
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");
11 January 2006
Flash2File.exe
Here it is.
It can be packaged with the flash files into one .sis.
09 January 2006
Button Skema
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:
no += 1;
}
Using Movie Clip as Key Listener
switch (Key.getCode()) {
case Key.UP :
no += 1;
break;
}
};
Key.addListener(mc);
Using Object as Key Listener
obj.onKeyDown = function() {
switch (Key.getCode()) {
case Key.UP :
no += 1;
break;
}
};
Key.addListener(obj);
if (Key.isDown(Key.UP)) {
no += 1;
}
};
// Key.addListener(obj);
Or you can download here
Source : http://www.luar.com.hk/flashbook/archives/001320.php
FL 1.1 dan Unicode
06 January 2006
Daftar Handset yang support FL 2.0
- Nokia 3230
- Nokia 6260
- Nokia 6620
- Nokia 6630
- Nokia 6670
- Nokia 6680
- Nokia 6681
- Nokia 6682
- Nokia 7610
- Nokia N70
- Nokia N90
03 January 2006
Flashlite 2.0 telah dirilis
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!
FlickrMobile: A Flash Lite 2 Application
PPL IAIN Syekh Nurjati Cirebon
Jika ditanya apa yang kau suka dari kehadiran mereka? Mereka punya jawabannya : semangat yang tinggi dengan keingintahuan yang tipikal mahas...
-
Ever wondered why some flash lite application can use 2 way navigation, while other can use 4 way? This not because if specific script to pu...
-
Jika ditanya apa yang kau suka dari kehadiran mereka? Mereka punya jawabannya : semangat yang tinggi dengan keingintahuan yang tipikal mahas...
-
Ini adalah gambar permunculan ID-Card yang sedianya akan digunakan di lingkungan Pondok Pesantren Bayt al-Qur'an Pondok Cabe Tangerang. ...