gunsoftommy
05-08-2008, 01:59 PM
I'm new to AS3 and flash panoramas. while trying to uload an embedded pano, i get this repeating error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at CubePanorama/redraw()
at autorotator_fla::MainTimeline/doMoveStep()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I'm using a button to unload the pano with this script:
function pageclose(evt:MouseEvent):void {
panorama.pano.remove ();
}
closebtn.addEventListener(MouseEvent.CLICK, pageclose);
My pano uses the movDecoder, limits, & autorotator plugin. Do these need to be unloaded as well?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at CubePanorama/redraw()
at autorotator_fla::MainTimeline/doMoveStep()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I'm using a button to unload the pano with this script:
function pageclose(evt:MouseEvent):void {
panorama.pano.remove ();
}
closebtn.addEventListener(MouseEvent.CLICK, pageclose);
My pano uses the movDecoder, limits, & autorotator plugin. Do these need to be unloaded as well?