Hi,
My .swf could be load in a hotspot or a plugin
If I make a trace like this :
Code
function registerEvent(evt:DataEvent):void
{
var plugin_path:String = evt.data;
var plugin_object:Object = krpano.get(plugin_path);
trace(plugin_object);
}
Flash tracer give me this two objects :
[object krpano_hotspot] or [object krpano_plugin]
but is there a way, with this objet, to know if it's a hotspot or plugin objet simply ?
The purprose is to catch the value of my xml
And I have to put
in one case, and
in the other
Ps : when I paste the code, some of if switch in smiley ... A litte bit boring ...is there a way to disable it ?