Accessibility
Jonathan Duran

Jonathan Duran

Adobe

Created:
1 March 2006
Products:
Devices

Flash Lite MP3 Player Sample

This Flash Lite sample MP3 player is a simple code sample that uses the new features of Flash Lite 2 to build a user interface and load media. The sample demonstrates the following features of Flash Lite 2:

  • ActionScript 2.0 support
  • Loading and parsing XML
  • Dynamically building a user interface based on the XML
  • Loading external MP3 files into the Flash Lite player

The Flash Lite MP3 player

Figure 1. The Flash Lite MP3 player

Requirements

Many developers have shown interest in taking a look at sample source files for Flash Lite 2. We're providing this MP3 Player sample for you to play with; feel free to investigate the code and structure of the FLA and the supporting files.

To view this sample code you will need to install the following software and files:

Flash Professional 8
Try
Buy
Flash Lite 2 Updater for Flash Professional 8
Download
Sample files:
FL2_music_xml.zip (ZIP, 1.4MB)

File and Installation Information

To install the files, simply unzip the archive to your hard drive. You should be able to run the movie as is.

The ZIP contains:

  • The project's main FLA (player.fla)
  • A published SWF version of the FLA file (player.swf)
  • Sample MP3 files to load
  • The XML file that holds text information the FLA (playlist.xml)

About the author

Jonathan Duran has been working at Adobe for more than six years and is currently a Senior QE Engineer for Flash authoring. Prior to that, Jonathan supported the developer community in a range of positions including Developer Relations for Mobile and Devices, Flash technical support, Developer Center Editor, and Developer Relations for Macromedia Central. Jonathan loves building mobile applications and doing development in Flash, but he often prefers backpacking in the Yosemite wilderness, composing electronica, playing Canasta, and feeding catnip to his cat, Mingatsu Takahashi.