我一直在創造一個超媒體播放器,和我得在那裏毛刺了一個階段,它顯然是一個...閃存CS5.5輸出錯誤
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at AvalancheCityHypermediaPlayer_fla::MainTimeline/fl_CustomMouseCursor()
這裏是我的代碼:
import flash.events.Event;
cust_cursor.mouseEnabled= false;
cust_cursor.addEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor);
function fl_CustomMouseCursor(event:Event)
{
cust_cursor.x = stage.mouseX;
cust_cursor.y = stage.mouseY;
}
Mouse.hide();
我不知道爲什麼它不能正常工作,基本上當按鈕被上空盤旋,它意味着跳轉到幀2和停止,但跳轉到該幀,然後跳直1幀不停止在第2幀,並在第1幀停止。