When is the timescale of a player passed to Rev?

Sannyasin Sivakatirswami katir at hindu.org
Mon Aug 2 23:32:54 EDT 2004


please ignore this... duh... i forgot to declare the global in the 
second button.


On Aug 2, 2004, at 3:24 PM, Sannyasin Sivakatirswami wrote:

> 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....



More information about the Use-livecode mailing list