Pass own loader object to hotspot in AS3?

  • Hi,

    I want to dynamically create image hotspots from an AS3 plugin using my own pre-loaded images (i.e. I don't want KRPano to download the image). Is it possible to use my own loader object somehow in the hotspot? [Edit] I know the loader attribute is Read-Only in the plugin object, but does the same apply to hotspots?

    Thanks for any help you can provide.

    Fred.

    Edited once, last by fredp (August 6, 2012 at 3:23 AM).

  • That would display the image, but surely it would not be a true krpano hotspot? I want to use all the nice features of the krpano hotspot object (callable from XML and AS3), but also use my own image data.


    The hotspot.loader attribute is not documented as read-only, but the plugin.loader is; I wonder if this was an oversight and the loader is read-only in hotspots too? I have tried hotspot.loader = myLoader but this does not work.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!