0
我正在自定義一個視頻播放器(http://23video.com),並且我希望控件在鼠標靜止或播放器外面後轉換到屏幕外。目前,他們立即從屏幕上彈出。下面是移動控制功能:Flash視頻播放器:轉換控制放置
private function trayHide():void {
if (showPlayList) return;
trayTimer.stop();
if(props.getNumber('trayTimeout')<=0) return;
tray.y = FlexGlobals.topLevelApplication.height - 74;
tray.visible = true;
}
有什麼我能落實到位的「tray.y = FlexGlobals.topLevelApplication.height - 74;」讓它在一兩秒內轉變高度變化?
PS:我基於此的視頻播放器是https://github.com/23/videoplayer。
可愛!謝謝Steffen。這工作很好。 –