Showing posts with label flash lite. Show all posts
Showing posts with label flash lite. Show all posts

Wednesday, June 27, 2007

Best Practices for Performance and Memory for Flash Lite

Adobe Flash Lite online live seminar: Best Practices for Performance and Memory for Flash Lite and Developer Center article.

Some takeaways:
  1. Help the garbage collector by explicitly deleting objects (e.g. XML) and setting local objects to null. It's unclear how setting local objects helps because the reference count should go to zero once it's out of scope.
  2. fscommand2("GetFreePlayerMemory") returns the size of the largest contiguous block of memory that can be allocated by the player, not total free memory.

Tuesday, June 5, 2007

Flash Lite Memory Size

Total available memory allocated by Flash Lite player, using
fscommand2("GetTotalPlayerMemory");
  1. FL 2.1 (standalone), Windows Mobile 5: 4096KB
  2. FL 2.0 (built-in), Nokia S60 FP3: 2297KB
  3. FL 2.1 (standalone), Nokia S60 FP2: 2296K

Thursday, May 31, 2007

Cookie Support in Flash Lite Players

Cookie support in standalone Flash Lite players varies by platform. For Flash Lite content accessed through a web browser, cookie support will be provided by the web browser.

Here is a partial list of the platforms I've tested. I'll update them based on feedback and as I get access to more platforms.

Cookie support:
  • FL 2.1 player on Windows Mobile

No cookie support:
  • FL 2.0 player on Nokia S60 FP3 (N95)
  • FL emulator (Adobe Device Central)

Wednesday, May 30, 2007

Flash Lite Player Error Codes

FlashDevices.net posted error codes for Flash Lite 1.1 and 2.

/// Flash Lite 2
1: Out of memory
2: Stack limit reached
3: Corrupt SWF data
4: ActionScript stuck
5: (there is no error code)
6: Bad image data
7: Bad sound data
8: Root movie unloaded
9: (there is no error code)
10: URL too long
11: Insufficient memory to decode image
12: Corrupt SVG data
13: Insufficient memory to load URL

Monday, April 23, 2007

Launching the Camera App from Flash Lite

The fscommand can be used to launch applications. For example, to launch the camera app on Windows Mobile 5 phones:

fscommand("Launch", "\\Windows\\Camera.exe");

To find out the path to the camera app on your Nokia phone, try the 2 methods mentioned here.

Tuesday, April 10, 2007

Flash Lite Examples

View hundreds of Flash Lite apps on Adobe Flash Lite Exchange.