i tried to have my own mapspots with some controlable functionality; parameters given by variables set in my xml.
So for all my mapspots it should be the same url to load and i wanted to have the possibility to control them individually,
The problem i ran into was that i could not find a way to identify (within flash) which instance "i am" at runtme. There was no way to let the swf at runtime know by which mapspot-"plugin" it was called from - and vice versa no chance from within krpano scripting language to adress the plugins at runtime correspondig swf-instance of my mapSP.swf.
Any sugesstions for it?
Klaus, wouldn´t this be a very powerful future feature: to have corresponding instance-references for multiple use of the same swf ???? !!!!
- AND - by the way - :
very important would be a more elegant way to have someting like
"use url from" for using the same plugin-url multiple - it had two fortunes:
1) it could save time and scale down errors during scripting
2) it could (and should!) copy the object in memory instead of download 14 times the same file...
regards,
Oliver
edited Mai 18:
...my knowledge of actionscript i growing but still poor --- > is the above ("instances...") already possible by using the aviable methods for registering events for plugins?
... i see it is possible to adress the corresponding plugin within flash
via its name-attribute - but is it possible vice versa too ???