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 796 by mineap, Sat Apr 28 11:09:31 2012 UTC revision 797 by mineap, Sun Apr 29 10:38:52 2012 UTC
# Line 204  package org.mineap.nndd.player Line 204  package org.mineap.nndd.player
204                                    
205                  private var lastLoadedBytes:Number = 0;                  private var lastLoadedBytes:Number = 0;
206                                    
207                  private var isLengthwisePreferred:Boolean = true;                  private var _isLengthwisePreferred:Boolean = true;
208                                    
209                  [Embed(source="/player/NNDDicons_play_20x20.png")]                  [Embed(source="/player/NNDDicons_play_20x20.png")]
210          private var icon_Play:Class;          private var icon_Play:Class;
# Line 422  package org.mineap.nndd.player Line 422  package org.mineap.nndd.player
422                          else                          else
423                          {                          {
424                                  this.isLengthwisePreferred = true;                                  this.isLengthwisePreferred = true;
425                                  ConfigManager.getInstance().setItem("isLengthwisePreferred", this.isLengthwisePreferred);                                  ConfigManager.getInstance().setItem("isLengthwisePreferred", this._isLengthwisePreferred);
426                          }                          }
427                                                    
428                          if(isStreamingPlay){                          if(isStreamingPlay){
# Line 2320  package org.mineap.nndd.player Line 2320  package org.mineap.nndd.player
2320                          }                          }
2321                                                    
2322                          //コメントを更新                          //コメントを更新
2323                          var commentArray:Vector.<NNDDComment> = this.commentManager.setComment(commentTimerVpos, (tempTime - this.time)*3, this.videoPlayer.isShowComment, this.isLengthwisePreferred);                          var commentArray:Vector.<NNDDComment> = this.commentManager.setComment(commentTimerVpos, (tempTime - this.time)*3, this.videoPlayer.isShowComment, this._isLengthwisePreferred);
2324                          this.commentManager.moveComment(tempTime/1000 - this.time/1000, videoInfoView.showCommentSec);                          this.commentManager.moveComment(tempTime/1000 - this.time/1000, videoInfoView.showCommentSec);
2325                          this.commentManager.removeComment(commentTimerVpos, videoInfoView.showCommentSec * 1000);                          this.commentManager.removeComment(commentTimerVpos, videoInfoView.showCommentSec * 1000);
2326                          this.time = tempTime;                          this.time = tempTime;
# Line 3730  package org.mineap.nndd.player Line 3730  package org.mineap.nndd.player
3730                                  commentPost.postCommentWithLogin(UserManager.instance.user, UserManager.instance.password, videoID, comment, command, commentTimerVpos/10);                                  commentPost.postCommentWithLogin(UserManager.instance.user, UserManager.instance.password, videoID, comment, command, commentTimerVpos/10);
3731                                                                    
3732                                  // とりあえずコメントを表示。通し番号をマイナスにして正規のコメントと区別する。                                  // とりあえずコメントを表示。通し番号をマイナスにして正規のコメントと区別する。
3733                                  commentManager.addPostComment(new NNDDComment(commentTimerVpos/10, comment, command, "", -1, "", -1, true), this.isLengthwisePreferred);                                  commentManager.addPostComment(new NNDDComment(commentTimerVpos/10, comment, command, "", -1, "", -1, true), this._isLengthwisePreferred);
3734                                                                    
3735                          }else{                          }else{
3736                                  //動画IDがついてないのでPostできなかった                                  //動画IDがついてないのでPostできなかった
# Line 4584  package org.mineap.nndd.player Line 4584  package org.mineap.nndd.player
4584                          return this.playingIndex;                          return this.playingIndex;
4585                  }                  }
4586                                    
4587                    public function set isLengthwisePreferred(value:Boolean):void
4588                    {
4589                            this._isLengthwisePreferred = value;
4590                    }
4591                    
4592                  /**                  /**
4593                   * 指定された動画がローカルのマイリストに存在する場合、マイリストの動画を既読に設定します。                   * 指定された動画がローカルのマイリストに存在する場合、マイリストの動画を既読に設定します。
4594                   * @param videoId                   * @param videoId

Legend:
Removed from v.796  
changed lines
  Added in v.797

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