Browse Subversion Repository
Diff of /NNDDv2/trunk/src/org/mineap/nndd/player/PlayerController.as
Parent Directory
| Revision Log
| Patch
| 752 |
} |
} |
| 753 |
|
|
| 754 |
/** |
/** |
| 755 |
|
* コメントを最新に更新します |
| 756 |
* |
* |
| 757 |
* @param videoId |
* @param videoId |
| 758 |
* @param videoPath |
* @param videoPath |
| 2177 |
* ウィンドウがリサイズされた際、コメントの表示位置をリセットします。 |
* ウィンドウがリサイズされた際、コメントの表示位置をリセットします。 |
| 2178 |
* また、SWFを再生中は、ウィンドウサイズが変更された場合に、Loaderコンポーネントの大きさを変更します。 |
* また、SWFを再生中は、ウィンドウサイズが変更された場合に、Loaderコンポーネントの大きさを変更します。 |
| 2179 |
*/ |
*/ |
| 2180 |
public function windowResized(isCommentRemove:Boolean = true):void{ |
public function windowResized(isCommentRemove:Boolean):void{ |
| 2181 |
|
|
| 2182 |
if(this.windowReady){ |
if(this.windowReady){ |
| 2183 |
|
|
| 2245 |
} |
} |
| 2246 |
} |
} |
| 2247 |
|
|
|
//コメントをすべて除去。 |
|
| 2248 |
if(isCommentRemove){ |
if(isCommentRemove){ |
| 2249 |
|
// コメントを全て除去 |
| 2250 |
commentManager.removeAll(); |
commentManager.removeAll(); |
| 2251 |
|
}else{ |
| 2252 |
|
// コメントの位置を再計算 |
| 2253 |
|
commentManager.validateCommentPosition(); |
| 2254 |
} |
} |
| 2255 |
|
|
| 2256 |
|
|
| 2257 |
|
|
| 2258 |
} |
} |
| 2259 |
} |
} |
| 2260 |
|
|
| 2410 |
} |
} |
| 2411 |
commentManager.setComments(comments); |
commentManager.setComments(comments); |
| 2412 |
} |
} |
| 2413 |
this.windowResized(); |
|
| 2414 |
|
this.windowResized(true); |
| 2415 |
|
|
| 2416 |
} |
} |
| 2417 |
|
|
|
|
Legend:
| Removed from v.440 |
|
| changed lines |
| |
Added in v.441 |
|
|
|