You are not logged in.

1

Tuesday, January 28th 2014, 1:53pm

Is it possible to fully drive an krpano from an action-script project ?

Hi guys !

I'm completely new to krpano so maybe the question sounds stupid, in that case, please excuse me !

I saw the example page : http://krpano.com/examples/116/?html5=never so I have downloaded all those examples and took a look at. So far I didn't see any example with action-script code, only behavior driven by XML.

Is it possible to drive a krpano project from an action-script project ? I want to add buttons, hot-sport from action-script code and be able to detect event when the user click on those. I want to be able to activate/deactivate button, hot-sport from action-script code too etc. etc. etc. Basically I want to be able to fully-drive a krpano project behavior from an Action-script classe ( Flash project).

Is it possible ? Is there ant example ?

Thank you very much.

2

Wednesday, January 29th 2014, 10:22am

Hi,

the intended way to communicate with other Flash apps in krpano would be the 'plugin interface':
http://krpano.com/docu/plugininterface/#top

That means that plugin must be first loaded into krpano, but then when loaded the plugin can be practically everything.

The krpano plugin interface can be used to get the normal krpano objects and also their internal flash DisplayObject representations,

e.g. here some exposed Flash objects:
http://krpano.com/docu/xml/#image.layer
http://krpano.com/docu/xml/#layer.loader
http://krpano.com/docu/xml/#layer.sprite

Best regards,
Klaus