diff --git a/src/TUplayer.mxml b/src/TUplayer.mxml index 92400a5..1f94ccd 100644 --- a/src/TUplayer.mxml +++ b/src/TUplayer.mxml @@ -99,6 +99,12 @@ else { tvVid.y = 0; } + if ((400 - info.width) > 0) { + tvVid.x = ((400 - info.width)/2); + } + else { + tvVid.x = 0; + } } public function tvNetStatus(e:NetStatusEvent):void {