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

_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to