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.

    Einmal editiert, zuletzt von fredp (6. August 2012 um 03:23)

  • 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.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!