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 853 by mineap, Sat May 26 09:20:56 2012 UTC revision 855 by mineap, Sat May 26 10:02:07 2012 UTC
# Line 3789  package org.mineap.nndd.player Line 3789  package org.mineap.nndd.player
3789                                                    
3790                          if(videoID != null){                          if(videoID != null){
3791                                                                    
3792                                    logManager.addLog("コメント投稿の準備中...");
3793                                    
3794                                  var commentPost:CommentPost = new CommentPost();                                  var commentPost:CommentPost = new CommentPost();
3795                                  commentPost.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, function(event:HTTPStatusEvent):void                                  commentPost.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, function(event:HTTPStatusEvent):void
3796                                  {                                  {
# Line 3797  package org.mineap.nndd.player Line 3799  package org.mineap.nndd.player
3799                                  commentPost.addEventListener(CommentPost.COMMENT_POST_FAIL, function(event:IOErrorEvent):void                                  commentPost.addEventListener(CommentPost.COMMENT_POST_FAIL, function(event:IOErrorEvent):void
3800                                  {                                  {
3801                                          trace(event);                                          trace(event);
3802                                          logManager.addLog("\t\t" + CommentPost.COMMENT_POST_FAIL + ":" + event);                                          logManager.addLog("\t" + CommentPost.COMMENT_POST_FAIL + ":" + event);
3803                                          logManager.addLog("コメント投稿失敗");                                          logManager.addLog("コメント投稿失敗");
3804                                          Alert.show("コメントの投稿に失敗\n\n" + event.text, Message.M_ERROR);                                          Alert.show("コメントの投稿に失敗\n\n" + event.text, Message.M_ERROR);
3805                                          commentPost.close();                                          commentPost.close();
3806                                  });                                  });
3807                                  commentPost.addEventListener(CommentPost.COMMENT_POST_SUCCESS, function():void{                                  commentPost.addEventListener(CommentPost.COMMENT_POST_SUCCESS, function(event:Event):void{
3808                                          var post:XML = commentPost.getPostComment();                                          var post:XML = commentPost.getPostComment();
3809                                          if(!isStreamingPlay){                                          if(!isStreamingPlay){
3810                                                  var path:String = PathMaker.createNomalCommentPathByVideoPath(source);                                                  var path:String = PathMaker.createNomalCommentPathByVideoPath(source);
3811                                                  (new FileIO(logManager)).addComment(path, post);                                                  (new FileIO(logManager)).addComment(path, post);
3812                                          }                                          }
3813                                          trace("コメントを投稿:" + videoID);                                          trace("コメントを投稿:" + videoID);
3814                                          logManager.addLog("\t\tコメントを投稿:" + videoID);                                          logManager.addLog("\t" + CommentPost.COMMENT_POST_SUCCESS + ":" + event);
3815                                            logManager.addLog("コメントを投稿(対象動画:" + videoID + ")");
3816                                          logManager.addLog("***コメント投稿完了***");                                          logManager.addLog("***コメント投稿完了***");
3817                                          commentPost.close();                                          commentPost.close();
3818                                  });                                  });

Legend:
Removed from v.853  
changed lines
  Added in v.855

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