TypeError: Error #1010: Een term is ongedefinieerd en heeft geen eigenschappen. [meaning something is undefined and has no properties]
at krpano.Kinterface::Kinterface_array/removeItem()
at krpano::krpano_base/removehotspot()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at krpano::krpano_interface/call()
at kflashpano::Kactionqueue/process_actions()
at action_baseclass/stop()
at action_wait/process()
at action_baseclass/actiontimerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This happens when "removehotspot(
myhotspotname)" is called as a tween() donecall.
So, my conclusions so far are:
- it is not a good idea for me to set "keep" to false and have krpano remove the hotspots upon loading the next pano, because one of the hotspots may still have a tween action going on
- it is also not good if I remove it myself, even after a wait, most likely for the same reason
- therefore I figured, instead of removing the plugin, I will set "keep" to false, so that at the third pano, krpano will then remove the hotspots from the first pano automatically without problems, because by that time, these hotspots will be invisible and not in use by anything whatsoever.
However, a similar flash error occurs when I click a hotspot on the second pano, to load the third pano (see below). Now I'm not removing them anymore, so it is krpano which tries to remove those hotspots with keep=false. But why that error??
TypeError: Error #1010: Een term is ongedefinieerd en heeft geen eigenschappen.
at krpano.Kinterface::Kinterface_array/removeItem()
at krpano::krpano_base/removehotspot()
at kflashpano::Kpano/remove_not_keeped_objects()
at kflashpano::Kpano/loadpano()
at kflashpano::Kactionqueue/call_action_loadpano()
at kflashpano::Kactionqueue/process_actions()
at action_baseclass/stop()
at action_baseclass/actiontimerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Of course, when I make a small sample xml, trying to remove a hotspot on the fly, it works just fine. Only in my project it needs to make trouble.