Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/org/mineap/nndd/player/PlayerController.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 518 by mineap, Wed May 4 09:05:50 2011 UTC revision 525 by mineap, Thu May 5 16:52:37 2011 UTC
# Line 244  package org.mineap.nndd.player Line 244  package org.mineap.nndd.player
244                          this.videoPlayer.init(this, videoInfoView, logManager);                          this.videoPlayer.init(this, videoInfoView, logManager);
245                          this.videoInfoView.init(this, videoPlayer, logManager);                          this.videoInfoView.init(this, videoPlayer, logManager);
246                          this.videoPlayer.addEventListener(AIREvent.WINDOW_COMPLETE, function():void{                          this.videoPlayer.addEventListener(AIREvent.WINDOW_COMPLETE, function():void{
 //                              dispatchEvent(new Event(Event.ACTIVATE));  
247                                  videoInfoView.activate();                                  videoInfoView.activate();
248                                  videoPlayer.activate();                                  videoPlayer.activate();
249                          });                          });
# Line 1373  package org.mineap.nndd.player Line 1372  package org.mineap.nndd.player
1372  //                                              var diffW:int = this.videoPlayer.nativeWindow.width - this.videoPlayer.stage.stageWidth;  //                                              var diffW:int = this.videoPlayer.nativeWindow.width - this.videoPlayer.stage.stageWidth;
1373                                                                                                    
1374                                          }                                          }
1375                                            else
1376                                            {
1377                                                    // ウィンドウの大きさ調整が無効
1378                                                    if(this.windowType == PlayerController.WINDOW_TYPE_FLV && this.videoDisplay != null && this.videoDisplay.videoObject != null){
1379                                                            //FLV再生か?
1380                                                            
1381                                                            // スムージングを設定
1382                                                            this.videoDisplay.videoObject.smoothing = videoInfoView.isSmoothing;
1383                                                            
1384                                                            if(videoDisplay.hasEventListener(LoadEvent.BYTES_LOADED_CHANGE)){
1385                                                                    //init後の初回の大きさ合わせが出来れば良いので以降のシークでは呼ばれないようにする
1386                                                                    videoDisplay.removeEventListener(LoadEvent.BYTES_LOADED_CHANGE, byteloadedChangedEventHandler);
1387                                                            }
1388                                                            if(videoDisplay.hasEventListener(TimeEvent.CURRENT_TIME_CHANGE)){
1389                                                                    videoDisplay.removeEventListener(TimeEvent.CURRENT_TIME_CHANGE, osmfCurrentTimeChangeEventHandler);
1390                                                            }
1391                                                            
1392                                                    }
1393                                                    
1394                                            }
1395                                                                                    
1396                                  }                                  }
1397                                                    

Legend:
Removed from v.518  
changed lines
  Added in v.525

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26