Changeset 388 for trunk/as3/com/jeroenwijering/player/View.as
- Timestamp:
- 09/29/09 13:46:01 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/as3/com/jeroenwijering/player/View.as (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/as3/com/jeroenwijering/player/View.as
r374 r388 8 8 import com.jeroenwijering.utils.*; 9 9 10 import flash.display. MovieClip;10 import flash.display.*; 11 11 import flash.events.*; 12 12 import flash.external.ExternalInterface; … … 143 143 public function getJSPluginConfig(nam:String):Object { 144 144 try { 145 var plg = getPlugin(nam);145 var plg:Object = getPlugin(nam); 146 146 var cfg:Object = getPluginConfig(plg); 147 147 } catch (err:Error) { … … 174 174 175 175 /** Send a ready ping to javascript. **/ 176 public function playerReady() {176 public function playerReady():void { 177 177 if(ExternalInterface.available && _skin.loaderInfo.url.indexOf('http') == 0 && ready != true) { 178 178 ready = true; … … 183 183 184 184 /** The timeout on this ping is needed for IE - it'll not get the playerReady call. **/ 185 private function playerReadyPing() {185 private function playerReadyPing():void { 186 186 try { 187 187 if(ExternalInterface.objectID && !_config['id']) {
