有誰知道onLoad()或類似的事件在Flex中是什麼?我在嘗試初始化,但沒有快樂。在程序加載事件..?
protected function videoArea_initializeHandler(event:FlexEvent):void
{
var currentPosition:int = videoArea.verticalScrollPosition;
if (currentPosition < 0)
{
left_button.visible = false;
right_button.visible = true;
}
}
onload for what?當Flex應用程序加載? – Amarghosh 2010-07-15 11:07:43