PDA

View Full Version : HotSpot control


Valente
03-08-2007, 04:40 PM
Hi Denis, here some other suggestions for your great player:

- More control over hotspot parameter, such as retrive hotspot parameter (id, ecc.) and possibility to launch function (e.g. in the controller)

-More parameter exposed in the controller, such as plugin clicked and so on...

- incremental change of pan, tilt, ecc... i.e. I'll be happy if i could change pan, tilt, ecc. in a relative way non tonly change:0,pan,10 but change pan from actual pan (es. 10) to +5 (final 15)

may thanks

Denis
03-10-2007, 05:14 PM
What about simple syntax like this:

global.autorotator = 0;
pano.pan += 10;
tilt -= 10,100,elastic;

Static functions and functions "run after done" supported as well:

<spot id="spot1" go="pan+=10,1000,regular,go" onClick="go()" />

It's working for 2.0 Hotspots.
I'm in process of documentation creation. It's a real torture for me to make docs :) Wait, I'm on homestretch. :)