View Full Version : scripting support
oksoft
06-22-2007, 03:20 AM
Hi,
I want to know if this player supports any scripts like if or while statement etc.If so,where can i find the tutorials about the script.I have checked the tutorials included in the downloaded zip file,but it doesnt mention any script.
Denis
06-28-2007, 07:17 PM
No. Hotspots script is very simple interval-based script (without conditions and cycles) . More complex statements can be implemented with Actionscript.
fotocubo
07-17-2007, 04:17 PM
How can I define an animation secuence defining two consecutive changes, first for Alpha and second for position? If I use a code like this:
pic.alpha=1;pic.alpha=0,200;
pic.staticX=-250;pic.staticX=250;"
I just get the second effect for "pic" spot. The first one, which defines an alpha transformation, is overwrited by the second one. How can I do for get it working? Thanks in advance for any sugestion.
jaaaab
07-18-2007, 12:36 PM
hi fotocubo,
first, do your alpha effect.
then create a timer (refer to the hotspot plugin doc) which calls your second effect.
Hope it helps
++
fotocubo
07-18-2007, 02:30 PM
Thanks jaaaab, it works. I had guessed the solution should be a timer but was not sure (I'm a newbie to coding). Once I applied the right timer sequence it does what I want. The target was to remove the "alpha=0" ghost picture effect from the pano to let pan dragging interaction through its area, for what I needed to hide the pic by redefining staticX values. (Pano in the top/the big arrow pointing to fullscreen button) http://www.vista360.com/
Thanks!
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.