Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Runtime Error 3502 - Could not load music at line 13

Author
Message
Mark Garrett
Reviewed AGK on Steam
21
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 9th Jan 2011 16:29 Edited at: 9th Jan 2011 16:33
Here's the code:

_____________________________________________________________

if FILE EXIST("1.mp3") then delete file "1.mp3"

rename file "q1-1.mp3","1.mp3"
load music "1.mp3",2
play music 2
do

loop

end

________________________________________________________________

When I run it I get message:

"Runtime error 3502- Could not load music at line 13"

So what does Runtime error 3502 mean?

Two heads are better than none
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Jan 2011 16:30
We need more information than that... upload your project and any other media.

GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 9th Jan 2011 16:44
quick question why are you renaming the mp3 before you play it and also



should be



======================================

GreenDixy Productions http://GreenDixy.Com
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Jan 2011 16:55
Quote: "+ Code Snippet

should be

+ Code Snippet"

That's not necessarily true, he doesn't have to sync if he has not turned sync on.

Login to post a reply

Server time is: 2026-07-21 15:13:58
Your offset time is: 2026-07-21 15:13:58