
-----------------------------------
livingheaven
Thu Mar 18, 2010 5:41 pm

How to end a Music.PlayFile program???
-----------------------------------
What is the problem you are having?





Please specify what version of Turing you are using


-----------------------------------
Insectoid
Thu Mar 18, 2010 6:02 pm

RE:How to end a Music.PlayFile program???
-----------------------------------
You have to put Music.playfilestop in there somewhere, at the end of the program preferably. Note that if you close the program by clicking the X, Music.playfilestop might not get run, and you'll have to open the program again and close it the way it was intended to be closed.

-----------------------------------
livingheaven
Thu Mar 18, 2010 6:05 pm

Re: How to end a Music.PlayFile program???
-----------------------------------
oh.. i'll give it a try. 
Thx for the info 
=D

-----------------------------------
livingheaven
Thu Mar 18, 2010 6:13 pm

Re: How to end a Music.PlayFile program???
-----------------------------------
it works ... lol 
thx  :mrgreen:

-----------------------------------
livingheaven
Thu Mar 18, 2010 6:25 pm

Re: How to end a Music.PlayFile program???
-----------------------------------
what does Music.PlayFileReturn do ?
just wondering

-----------------------------------
Insectoid
Thu Mar 18, 2010 6:37 pm

RE:How to end a Music.PlayFile program???
-----------------------------------
I dunno for sure, but I suspect it will return a value based on weather the file exists or is playable.

-----------------------------------
livingheaven
Thu Mar 18, 2010 6:38 pm

Re: How to end a Music.PlayFile program???
-----------------------------------
ok thx for the help. :D

-----------------------------------
copthesaint
Thu Mar 18, 2010 11:21 pm

RE:How to end a Music.PlayFile program???
-----------------------------------
The Music.PlayFileReturn Is kinda like Music.PlayFileLoop but I executes once, then terminates. A good combination of both PlayFileLoop *(for possibly background music) and PlayFileReturn *(for sound effects) will give your game a nice mixture of sounds, at the cost of some of your programs run speed.

I dunno for sure, but I suspect it will return a value based on weather the file exists or is playable.
:/ No, fail Lol. File.Exists, and if a music file isnt of improper format, Well im Definitly positively sure you can figure that out.

-----------------------------------
livingheaven
Fri Mar 19, 2010 5:37 pm

Re: How to end a Music.PlayFile program???
-----------------------------------
thx..for the help. :D
