
Yesterday Forum Nokia released their "NFL" spec for packaging Flash Lite content for supported Nokia Series 40 devices. For those of you in the US you may think National Football League which started a few weeks ago but this is not that ;o)
The easiest way to think of the .NFL file format is it's a .ZIP file that's renamed to .NFL and contains at least one .SWF file, a bitmap file for the icon and a descriptor file (.INF). If the Flash Lite content also requires additional .SWF or other media files they can be included in the package as long as the information is listed in the descriptor file.
So I spent some time yesterday (about 30 minutes) and created a simple Flash Lite animation and made my own .NFL package and thought I'd share my experience with you.
- Source files (.FLA, .SWF, .PNG, .INF)
- .NFL file (copy to a supported Nokia Series 40 device)

So then I opened up Device Central CS3, found the 6500 Classic, then selected "File > New Document In > Flash" and then selected the Create button.

Now that I was in Flash CS3 I created a simple bouncing ball animation and specified it to launch fullscreen: fscommand2("FullScreen",true); I tested in Device Central, it worked so I then had my SWF file ready to go.

Next was to create the icon so I opened up Photoshop and created a new document that was 43x43. Added some random shapes and colors and then exported as a PNG with transparency. Make sure you have it set to 256 colors in your PNG settings otherwise you may experience an error message when trying to launch the .NFL file on a device.
So the .SWF and .PNG files are ready, now to create the descriptor file:
FL-Version: 1.1
FL-Icon: bouncingBall.png
FL-Name: Bouncing Ball
FL-Root: bouncingBall.swf
You can refer to the .NFL spec PDF for specific details but all I did was create a new text file with the above text and saved it as "descriptor.inf".

Now to create the .NFL file - this was easy. I selected my three files (bouncingBall.swf, bouncingBall.png, and descriptor.inf) and made a .ZIP file. I then renamed the .ZIP file to .NFL.
Last step is to get it on my 6500 Classic so I just transferred it from MacBook Pro via Bluetooth and it showed up in the Received files folder, which is located in the Gallery (Menu > Gallery > Received files).

The icon I created shows up, the name of the application that I specified in the descriptor file shows and if I select the app it launches and I see a bouncing yellow ball that's full screen.
Here are some additional details for those of you who are new to Flash Lite development or are interested in Nokia Series 40 devices.
What's "packaging"?
Packaging is a term used in mobile development to describe the process for gathering and compressing files together into a specific file format that's then interpreted by a device. Once on the device the package can be installed and/or launched. In the mobile space there are several packaging formats for different mobile platforms:
- Symbian = .SIS
- Windows Mobile = .CAB
- Java applications = .JAR
- Nokia Series 40 = .NFL
- AIR application = Flash > Packaging to .AIR > distribution
- Flash Lite content (NFL) = Flash > Device Central > Packaging to .NFL > distribution
- Flash Lite content (SIS) = Flash > Device Central > Packaging to .SIS > distribution
The .NFL file format is supported on Nokia Series 40 devices that are 5th edition, Feature Pack 1 and newer. If the grand scheme of things the Series 40 devices are commonly referred to as "mass market" or "feature phones". The "high end' or "smart phones" are the S60 devices, like the N95, N82 and others. To date there are 22 compatible Series 40 devices that have been announced and/or shipping in market. They include the following models:
- 3120 Classic
- 3555
- 3600 Slide
- 5220 XpressMusic
- 5310 XpressMusic
- 5610 XpressMusic
- 6212 Classic
- 6300i
- 6500 Classic
- 6500 Slide
- 6600 Fold
- 6600 Slide
- 7210 Supernova
- 7310 Supernova
- 7510 Supernova
- 7610 Supernova
- 7900 Prism
- 7900 Crystal Prism
- 8800 Arte
- 8800 Saphire Arte
- 8800 Carbon Arte
For some time Flash Lite developers have developed content for Series 40 devices but there hasn't been an easy way for them to package their content and distribute it. With the .NFL spec from Forum Nokia, anyone can create a .NFL package and make it available for end-users to download (OTA, Bluetooth, etc...). You can also take a Flash Lite application that was developed for Nokia S60 devices and package it for Series 40 devices. Of course depending on the specific features that the developer used in their Flash Lite application for S60 devices some features may or may not work on a compatible Series 40 device. This is where using Device Central, testing on actual devices and asking the community to assist in testing can help out.
Now that you have more facts about .NFL and Flash Lite I encourage you to start looking into creating various types of Flash Lite content for these mass market devices. If you have any additional questions about .NFL leave them here and I'll answer them.
Labels: device central, flash lite, nokia, Series 40

Bill Perry is the Senior Services Marketing Manager for Forum Nokia based in California.
9 comments
Wondering why we are having about this, just now ... some of these 5th edition devices have been on market for some time now, if I understand correctly ...
By
Scott Janousek
, at
Thu Sep 18, 09:46:00 PM PDT
Good question Scott :-)... Anyway thank you very much Bill for the useful information.
Ciao
Andrea
By
Andrea Trento
, at
Thu Sep 18, 10:41:00 PM PDT
Thanks for the information Bill. Can you confirm where the NFL content shows up on the device, as the nokia documentation mentions the gallery, is this the case when sent via bluetooth?
By
Stuart Varrall
, at
Fri Sep 19, 01:03:00 AM PDT
nice overview Bill! Will look into it later on.
By
thomas
, at
Fri Sep 19, 01:03:00 AM PDT
Scott, everything could be done earlier but it's good we finally have it ;-) Good step forward!
By
greg
, at
Fri Sep 19, 02:41:00 AM PDT
Great news! been waiting for this one
Thanks Bill
By
Andy
, at
Fri Sep 19, 04:37:00 AM PDT
Ciao,
just an infos, it's for S40 5th Ed FP1 !
Alessandro
By
Alessandro
, at
Fri Sep 19, 05:09:00 AM PDT
Alessandro, yes, FP1 makes the distinction.
I was just curious, not complaining (sorry if it came across like that) ...
A lot the devices are just shipping now, I think ... but I could have sworn some of them were already out there (like the Xpress Music series).
You're the man for keeping tabs on shipments. :)
By
Scott Janousek
, at
Fri Sep 19, 10:24:00 AM PDT
Nice, perfect timing too!
By
David
, at
Fri Sep 19, 10:43:00 AM PDT
Post a Comment