Hi! I'm having problems with parent="stage" in my plugin.
When I use parent=stage I receive a lot of error due to trying to access nulling objects.
It works fine without parent=stage.
The problem is really strange
I have a method registered for XML access:
that method is called inside xmlcomplete when I use loadpano:
Code
<events onxmlcomplete="action(xmlcomplete);" />
<action name="xmlcomplete">
plugin[mapa].actualizarradar();
</action>
but when that method is called, I get a null reference inside it:
Code
public function interface_actualizarradar():void
{
if(krpano!=null)
krpano.trace(1, "actualizarradar");
//krpano and plugininterface are null here !!
}
and that's really strange because if the method is called is because it was registered with plugininterface before, so, why plugininterface is null later?
and again, it works fine without parent=stage, so I'm losing something there I guess...
Does somebody know where is the problem?
Thanks !!