TempoLite (AS3) - Small Efficient Media Library

Version 3.0.4, Updated April 30, 2009
  • Compatibility: Flash Player 9 and later (ActionScript 3.0)
  • File Size: About 8Kb - 33Kb
  • Change Log

Download Now (3.0.4)

What's New

Description

TempoLite 3.0 is a complete refactoring of the code. I've finally made it modular enough that you can pick and choose which components you need at the time. If you only want to play an mp3, then just use the SoundPlayer. If you need to play a video use the NetStreamPlayer. If you're not sure if you're going to be loading an mp3 or a video, use TempoLite and it will play the media with the correct player. By using only what you need you can keep filesize down. TempoLite (1.0) is now the core of Tempo, with Tempo expanding upon TempoLite's capabilities. With that said, TempoLite focuses on playing and managing media, nothing else. Any UI elements would be handled by the user or by Tempo.

TempoLite is no longer a component you drag into the library. It is now purely just a set of calsses you copy to your project folder. I've found this is simpler to test and update than needing to update something in the FLA constantly.

Competitors

This is a list of other known Flash media players currently out. While some media players may seem fancy or elaborate TempoLite's goal is to be small, and efficient. Below is a list of comparable players with similar capabilities and file sizes:

You need to upgrade your Flash Player
This site requires atleast version 9. If you would like to continue anyways, please click here to bypass. Get Adobe Flash Player

This Wimpy Button styled TempoLite demo is only 8Kb (version 2.0 was 20kb but allowed for playlista M4A and videos), compared to the 30Kb for the actual Wimpy Button.

Usage

Item Object

An item object is used for handling a single item. You pass an item object to add audio or video to the play list. When you try to retrieve audio or video from the play list, it is returned as an item object. Below is the format of an item object :

{title: "My Song", length: "100", url: "mySong.mp3", extOverride: "m4a"}

If no title is passed, it will be set to "". If no length is passed, it will be set to -1. If extOverride isn't passed, Tempo will get that last three letters of the file name to guess the file format.

Support Video Formats

Below is a list of the supported video formats. This is basically a run down of the videos Flash can play.

Support Audio Formats

Below is a list of the supported audio formats, this is basically a run down of the sounds Flash can play.

Support Play List Formats

You can pass the following play list file types to Tempo. For each file type (if XML based) is a list of the corresponding tags as they relate to the Item Object described above.

Documentation

View v2.0 ASDocs | View v3.0 ASDocs

Change Log

TempoLite 3.0.5 for AS3 (unreleased)

TempoLite 3.0.4 for AS3 (April, 30, 2009)

TempoLite 3.0.3 for AS3 (April, 22, 2009)

TempoLite 3.0.2 for AS3 (April, 2, 2009)

TempoLite 3.0.1 for AS3 (March, 31, 2009)

TempoLite 3.0 for AS3 (Unreleased)

TempoLite 2.1.1 for AS3 (unreleased)

TempoLite 2.1 for AS3 (January 28, 2009)

TempoLite 2.0.7 for AS3 (January 22, 2009)

TempoLite 2.0.6 for AS3 (January 12, 2009)

TempoLite 2.0.5 for AS3 (unreleased)

TempoLite 2.0.4 for AS3 (unreleased)

TempoLite 2.0.3 for AS3 (October 24, 2008)

TempoLite 2.0.2 for AS3 (October 24, 2008)

TempoLite 2.0.1 for AS3 (October 06, 2008)

TempoLite 2.0 for AS3 (October 03, 2008)

TempoLite 1.1 for AS3 (September 19, 2008)

TempoLite 1.0.3 for AS3 (June 26, 2008)

TempoLite 1.0.2 for AS3 (June 26, 2008)

TempoLite 1.0.1 for AS3 (June 26, 2008)

TempoLite 1.0 for AS3

TempoLite 0.9.5 for AS3

TempoLite 0.9.4 for AS3

TempoLite 0.9.3 for AS3

TempoLite 0.9.1 for AS3

TempoLite by Gabriel Mariani