;

PDA

Click to See Complete Forum and Search --> : song loop


ConnELITE
09-05-2005, 11:37 AM
i made a button that plays a song, i cllicked the loop button for the song. its not looping...please help

ConnELITE
09-05-2005, 05:48 PM
wait i kinda found out why it wassnt doing it. so now my question is: is there a way to say if song is done then song.start()? ive tried simple ones but they didnt work

blanius
09-05-2005, 10:11 PM
if you load the song via the loadSound function then you have the properties .duration and .position and when they are the same viloa then end.

ConnELITE
09-06-2005, 07:11 PM
uhh, wat? sorry im new to sound functions.

blanius
09-06-2005, 11:56 PM
example

ConnELITE
09-07-2005, 08:38 PM
thanks but it doesnt wokr when exported, any other ideas?

ConnELITE
09-07-2005, 08:50 PM
nevermind, i fixed it, thanks btw!!

blanius
09-07-2005, 09:49 PM
just guessing that you tried it with the filename that I had used? :)

JSDvs9172
09-09-2005, 08:28 PM
That's user error at it's finest if Bret's right. LOL :)

Bottom Line: Always check everything when dealing with code.

ConnELITE
09-10-2005, 02:47 PM
haha, no im not that stupid. Its a long story how i messed up, it was mostly cause the preview window always lies.