28 February 2006

Web : Wanna try Flash Lite in Indonesia Handset?


I found interesting news regarding Flash Lite in Indonesia.How can we try those application in here?

So here it is....Sony Ericcson just released w900i to Indonesia.And the great thing is...there is Flash Lite embedded on this walkman phone series.They said Macromedia Flash Lite™ use for wallpaper, animation, menu and other impresive graphics element.

Well....when i check the price, it cost Rp. 6,200,000 :((...still to expensive for me.....

24 February 2006

Training Day 2

On the next day, I set up Flash MX 2004 to my computer's friend.
As Macromedia say, Flash Lite 1.x can only available to Flash MX 2004 and higher.

My friend told me she has installed Flash MX 2004 to her computer, then the problem appears.She can not find Flash Lite 1.1 on publish Flash option.
So anytime she publish the swf file, error message always shown.
"You should publish it to Flash 5 etc..."

When i checked the software,I found Flash MX 2004 Professional version 4.0.So i uninstalled it, and install to the machine with new version (ver. 7.2), and its works.

The only problem if we use some action scripts is, it need Flash Lite 1.1 to published.I dont find any problem when I developed a simpe wallpaper without any script embedded.

And what more interesting if we develop Flash Lite with Flash 8 is, we can find any devices to be tested.More complete action script help on panel, and also new features on publish option. There is Flash Lite 2.0 on it.

So my suggestion is....upgrade to Flash 8 to get more powerful support.Of course it need more space on your hardisk, and if you have computer with Windows 2000, you need to check Service Pack.It need Service Pack 4 to run.Or if you use Windows XP, you need to make sure your machine is using Service Pack 2.


23 February 2006

Training Day 1

Its been pleasure for giving training to my friend.
She used to work with FlashMX 2004, now after some theory of Flashlite, she just can say "such a simple script to create great application" :D

We do have a good news from our partent.They planning to sell some wallpaper with Flashlite environment.So they asking me to find new partner to do so.

Our first application is wallpaper running on Flashlite 1.x.Then other projects come.

Cant wait to produce new application.

Web:Hot viliv P1 30GB Portable Media Player

Please take a good look....dont be fool with Sony PSP and iPod.






Specification :
- 30GB hard-drive,
- 4 inch 16:9 wide-screen with 480x272px TFT screen,
- Macromedia Flash player
- FM-Tuner,
- Voice and audio recording,
- Speaker,
- CF Slot,
- Video and Audio Out,
- 6 hour video viewing battery life and 11 hours for audio.
- The video player supports DivX, Xvid and MPEG1/2/4.
- The audio player supports MP3, WMA and OGG.


From the sales representation,they stated that they had produced a Korean language CDK (not found this online yet) and that there will be a FL2 version later this year

21 February 2006

Web:Final Results of Flashlite Poll





Today Flashlite Poll on Flashlite mailing list is closed.


Here are the result :

POLL QUESTION: What kind of flashlite content do you use to develop ?

CHOICES AND RESULTS
- games, 11 votes, 35.48%
- utilities, 19 votes, 61.29%
- ringtones, 0 votes, 0.00%
- animated wallpapers, 1 votes, 3.23%
- themes, 0 votes, 0.00%

And if i look individual votes list, there is my name there....the only person who voted for animated walpapers, hey....im the only one creating wallpaper with Flashlite...how silly i am :D

15 February 2006

Handset:SonyEricsson W950i with Flashlite Supported


Have you ever wonder to get Sony Ericsson mobile phone with FLashlite player on it? soon, you will get them. Sony Ericsson introducing W950i as their answer for Flashlite developers or user.

You can check the product here.

for Bahasa Indonesia version, you can read here

Application:FPS-Meter Lite for FlashLite developers

Faisal Iqbal post his email today on Flashlite Yahoo Groups a component for Flashlite 1.x as Valentine gifts.

It help developers to test Flashlite movie in emulator or device and show its FPS of last 10 frames.

You can download here




And, i've dragged it on my G-Shock application, and it work...great!....so now i can check my timing carefully then....

09 February 2006

F A Q

What it takes to create aplication working on Flash Lite?

- You can use Macromedia Flash MX 2004 or Flash 8, you can download the trial version here

How u will embed the flashlite application in the Mobile device. How
to transfer to the device?

- Bluetooth, IR, USB, Cable,Web link

Where can i find tutorial and some sample programs?

-http://www.macromedia.com/devnet/devices/ -http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn310 -http://www.flashmobileforum.org/node/13

And vickymustdie on flash lite groups give more note about this :

Very first thing you need is Macromedia FLASHLITE Player
installed on your handset and also whether your Handset supports
Flash files or not. For which you need to check out the listing of
Macromedia Flashlite supported handsets
http://www.macromedia.com/mobile/supported_devices/handsets.html.

From the link, you have to confirm..

1) Whether your handset supports Flashlite Software from Macromedia.

2) If yes, which version of Flashlite is supported either Flashlite
1.0 or Flashlite 1.1.

3) Also need to verify the Supported Operators, ie. in case of you
downloading the files from online (and not from PC to Mobile using
Cable, Bluetooth etc.). Basically its GSM Handsets works all over
the world. But in the country like JAPAN, it supports NTTDocomo
Operators.

4) If all the above points turns positive for you, then you need to
go for Flashlite Player, which is free with some website or trial
packed, you need to buy it from Macromedia website :
http://www.macromedia.com/cfusion/store/index.cfm?store=OLS-
US&STOREREGION=us#loc=en_us&view=ols_prod&store=OLS-
US&category=/Software/Development/StandAlones/FlashLite&STOREREGION=u
s



5) Some Handsets comes with preinstalled Flashlite Player.

Making an Animation:

While making an animation for the mobile phones, you must take care
of file size and the size of the movie. The file size should not be
too high which will take down your handset memory while accessing
the flash applications. It will slow down your handset. The size of
the movie(screen) differs from handset to handset. In my case, i'll
take the movie size as "176 x 208" (Nokia 3230).

You'll need Flash 8 Professional Software for the animation (As it
includes Flash Lite emulator which lets you preview your content as
it will function on an handset. You must also take care of the
following rules for the production.

*** FLASH 4 SCRIPT
Flash Lite supports the Flash Player 4 version of the ActionScript
language for the Flashlite Applications. And so most of the Flash 8
commands and syntax are not supported with Flashlite.

*** FLASHLITE KEYS
Flash Lite supports the following keys on mobile devices:
Softkeys
Five-way keypad keys (Up, Down, Left, Right, and Select)
Left and Right soft keys
0-9, *, and # keys

*** KEY HANDLING
Assigning Key Handling to the Keypad Keys (eg.For "ENTER", you'll
press the Left/Right arrow key on your handset 's keypad.

*** TEXT
Flashlite supports all 3 text options. "STATIC", "DYNAMIC"
and "INPUT".
Using fonts available in device.
Rendering text.

*** SOUND
Flash Lite supports MIDI and MFi device audio formats as well as
native Flash sound compressed with PCM (or WAV), ADPCM, or MP3 audio
compression.
Event and Stream Sound.
Flash Lite does not support the Effect, Sync, and Edit options for
device sounds.

*** MOTION
For the Animation, Flashlite supports Vector quality at Low, Medium
and High Level.
Handset CPU Power Limitations for BITMAP and VECTOR images. Image
Compression.

You can learn more of Flashlite Development from Macromedia
Website : www.macromedia.com/software/flashlite/

Following this rules will help you make applications/games for
mobile devices.

Finally...

You need an installer in order to convert your .SWF files to .SIS
format (Supported by all the major handsets).
You can do that by using Softwares like SWF2SIS and MAKESIS.You can
download SWF2SIS software from http://www.blueskynorth.com/swf2sis/
and MAKESIS software from
http://www.symbian.com/developer/downloads/tools.html#makesis

After conversion of your file from .SWF to .SIS, you need to upload
your file online and then can download it from your Handset using
GPRS. Or You can either transfer it from PC to MOBILE using Data
Cable / Infrared / Bluetooth.

26 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.

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

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 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):

  1. Unsis one of the players on your PC
  2. create a pkg file
  3. replace the UID with another one and make any necessary changes to file names)
  4. create a SIS using makesis
  5. 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)

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 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

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();

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.

Download FLA.

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

Wanna try flash game for multi user?
You can dopwnload here :

http://www.rawfish-software.com/index.php

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");

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...