|
Revision 88, 0.7 kB
(checked in by jeroen, 13 months ago)
|
|
merged 4.2 player to trunk
|
| Line | |
|---|
| 1 | /** |
|---|
| 2 | * Definition of the READY event, fired by the Player when all components are set up. |
|---|
| 3 | * |
|---|
| 4 | * Listen to this event when loading the player.swf in a flash/Flex project. |
|---|
| 5 | * When fired, all API calls are available. |
|---|
| 6 | * |
|---|
| 7 | * Import this class into your project/plugin for strong-typed api references. |
|---|
| 8 | **/ |
|---|
| 9 | package com.jeroenwijering.events { |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | import flash.events.Event; |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | public class PlayerEvent extends Event { |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | /** Definition for the ready event. **/ |
|---|
| 19 | public static var READY:String = "READY"; |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | /** |
|---|
| 23 | * Constructor; sets the event definition. |
|---|
| 24 | * |
|---|
| 25 | * @param typ The type of event. |
|---|
| 26 | * @param dat An object with all associated data. |
|---|
| 27 | **/ |
|---|
| 28 | public function PlayerEvent(typ:String,bbl:Boolean=false,ccb:Boolean=false):void { |
|---|
| 29 | super(typ, bbl, ccb); |
|---|
| 30 | }; |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | } |
|---|