DEF Action1 Script { |
eventIn SFTime clicked |
eventOut SFTime start |
url "vrmlscript: // Note: Cosmo Player 2.0 still wants to see vrmlscript |
function clicked(time) |
{ start = time; } " |
} |
ROUTE GO.touchTime TO Action1.clicked |
ROUTE Action1.start TO TIME1.startTime |
ROUTE TIME1.fraction_changed TO INTERP1.set_fraction |
ROUTE INTERP1.value_changed TO T1.set_translation |
Even though its JavaScript |