Is unloadkrpano not supported any more?

  • Is unloadkrpano not supported any more?

    I was using the function to remove krpano as written by Zephyr. and it was working.
    Removing krpano from stage

    Now using the KRpano.swf downloaded a few weeks ago... and it no longer works.

    krpano.call('unloadkrpano()')=undefined
    TypeError: Error #1009: Cannot access a property or method of a null object reference.

    Is it just me? Am I doing somthing wrong?

    I really need this functionality.

    Do I have to go back to the older version.?

    Thanks.

  • OK more info.
    If I comment out the unloadkrpano() function line. the Pano does dissapear. due I suppose to the rest of Zephyr's code.

    However I'm getting the following errors... because other stuff has not been cleaned up.
    Here's what I'm getting:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at kflashpano::Kpano/calc_fps()
    at kflashpano::Kpano/enterFrameHandler()
    at kflashpano::Kpano/hoverHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    What do I need to add to Zephyr's code to fix this?

  • Ok Downloaded the latest krpano (1.16.6) and tried again.
    Here's the result:
    Still getting these constantly pushing out errors. Note: 2 other errors have now gone.

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at kflashpano::Kpano/hoverHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Any suggestions on how to clean these up?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!