Ignore:
Timestamp:
10/12/09 18:22:18 (4 years ago)
Author:
pablo
Message:

IPlugin requires v5 plugins to implement initPlugin instead of initializePlugin()
Fixed playlist resizing
View dispatches errorevent instead of throwing error on overrideComponent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/view/View.as

    r440 r441  
    7676                        background.name = "background"; 
    7777                        _backgroundLayer.addChildAt(background, 0); 
    78                         background.graphics.beginFill(_player.config.backcolor, 1); 
     78                        background.graphics.beginFill(_player.config.screencolor, 1); 
    7979                        background.graphics.drawRect(0, 0, 1, 1); 
    8080                        background.graphics.endFill(); 
     
    186186                                // Replace playlist 
    187187                        } else { 
    188                                 throw(new Error("Component must implement a component interface")); 
     188                                dispatchEvent(new ErrorEvent(ErrorEvent.ERROR, false, false, "Component must implement a component interface")); 
    189189                        } 
    190190                } 
Note: See TracChangeset for help on using the changeset viewer.