Hi,
I created a plugin that loads an external xml to build up a menu. To make things more simple, I was wondering if I could add the objects in the external xml in the plugin?
Code
<plugin keep="true" alpha="1" customattribute="1" url="plugin.swf">
<object attribute="1" />
<object attribute="2" />
</plugin>
and from the flashfile I could loop it like:
Code
plugin_object = krpano.get(plugin_path);
for(var i:int = 0; i < plugin_object.object.length(); i++)
{
trace(plugin_object.object[i].@attribute);
}
Is this possible?