Learning Flash Lite 1.x ActionScript |
|
|
|
| About Flash Lite 1.x ActionScript > Features not available in Flash Lite 1.x ActionScript | |||
Because Flash Lite player is based on an older version of Flash Player, it does not support all the programming features available in more recent releases of Flash Player or other programming languages that you might be familiar with. This section discusses programming features not available in Flash Lite 1.x ActionScript and available alternatives and work-arounds.
User-defined functions Flash Lite 1.x does not support the ability to define and call custom functions. However, you can use the call() function to execute code that resides on an arbitrary frame in the timeline. For more information, see Using the call() function to create functions.
Native arrays, objects, or other complex data types Flash Lite 1.x does not support native array data structures or other complete data types. However, you can emulate arrays using pseudo-arrays, a technique that involves using the eval() function to dynamically evaluate concatenated strings. For more information, see Emulating arrays.
Runtime loading of external image or sound files Unlike the desktop version of Flash Player, Flash Lite 1.x ActionScript cannot load external JPEG files or MP3 files. In Flash Lite 1.1 you can use the loadMovie() function to load external SWF files. For more information, see Loading external SWF files.
|
|
|
|