Hi,
this seems to be a "path"-problem - the flash component search for the "vtlist.xml" file in the root path,
when it is started standalone the root path is the path of the "summersundae.swf" file
and it works, but on when it is started from krpano the root path is the path of the html file
and it doesn't find the "vtlist.xml",
the solution is the copy the file to the path of the html file or change the path in your plugin,
a other solution would be to pass the path to the xml from krpano,
e.g. - xml - add a user defined sub node - "vtlist"
|
Source code
|
1
2
3
|
<plugin name="summersundae" url="../flash/summersundae.swf">
<vtlist url="../flash/vtlist.xml" />
</plugin>
|
to access this variable from the plugin/actionscript:
|
Source code
|
1
|
var xmlurl:String = krpano.get("plugin[summersundae].vtlist.url");
|
(note - "url" attributes are automatically converted to full paths)
best regards,
Klaus