Hanging on Wait
kray at sonsothunder.com
Sat Dec 28 14:11:01 EST 2002
-- script of btn
set the defaultFolder to thePath
put the files into fileList
put 1 into gFileNum
-- script of cd
set the filename of player "player1" to ("/" & line gFileNum of fileList)
start player "player1"
add 1 to gFileNum
if gFileNum > 4 then
exit to top
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: <JamesHBeckmann at aol.com>
To: <use-revolution at lists.runrev.com>
Sent: Saturday, December 28, 2002 12:43 PM
Subject: Hanging on Wait
> The following hangs on "wait" and I'm not sure why:
> set the defaultfolder to thePath
> put the files into fileList
> repeat with h = 1 to 4
> set the filename of player "player1" to (defaultfolder & "/" & line h
> start player "player1"
> wait until the movie is "done"
> end repeat
> It plays the first movie but then "hangs" ( or waits forever).
> appreciated, thanks.
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode