When is the timescale of a player passed to Rev?

Sannyasin Sivakatirswami katir at hindu.org
Mon Aug 2 21:24:24 EDT 2004


If I do this:

global gTimeScale
on mouseUp
   set the currentTime of player "theTape" to 0
   set the filename of player "theTape" to fld "soundFile"
   put the timescale of player "theTape" into gTimeScale
   start player "theTape"
   postTime
end mouseUp

the global gTimeScale

will have a value

If i quit Rev and then go back to the same stack and click a different 
button.

on mouseUp
   start player "theTape"
   set the currentTime of player "theTape" to fld "saveTime"
   put the timescale of player "theTape" into gTimeScale
   send postTime to this stack in 2 seconds
end mouseUp

gTimeScale is empty....

Looking through the current documentation I don't see any reference to 
when the properties are available, one would infer... but its just a 
guess, that the timescale property is only available at the moment the 
filename to the player is set.

insights?


Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
katir at hindu.org

www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org



More information about the use-livecode mailing list