PDA

View Full Version : What goes between the two commas of TIMER


ubiquity
07-31-2008, 01:50 AM
I can't find any documentation on what can be put between the two commas of the timer.

timer+=1,1500,,myFunction;

timer+=1,1500,whatGoesHere,myFunction;

cheathamlane
07-31-2008, 03:12 AM
Hey Ubiquity:

You can check the tutorial:
http://flashpanos.com/content/simple-panorama-auto-presentation

That has an example of tweening, etc, and working code.


but, basically the logic is:


function_name=
"what_to_act_upon.action_to_take=amount, time, type_of_tween, what_to_do_next, what_to_do_if_interrupted"



HTH!

ubiquity
07-31-2008, 04:40 AM
Thank you for your reply! :D

I see what you are saying as it relates to a function that animates the pano. However, I'm referring to the timer. Here is an example from the hotspots.html tutorial from FPP.

goTimer="timer+=1,20000,,go1; qualityStatic=medium"

better yet, let me simplify things...

timer+=1,20000,,go1;

So, I'm clear about how the timer works but I don't know what is possible between the double commas that are between the "20000" and the "go1".

cheathamlane
07-31-2008, 05:09 AM
Yes, maybe I was being too subtle... :)

The timer, AFAIK, should operate with the same syntax as the more intuitive motion tweens. You can apply these tweens to any spot, box or the pano itself.

In that case, what would be between the commas would be the "type of tween" (ie, bounce, elastic, etc).

HTH!

ubiquity
08-01-2008, 12:19 AM
Please see my reply from 7-31-2008 at http://flashpanoramas.com/forum/showthread.php?p=8801#post8801