Click here to Skip to main content
15,906,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I am trying to play two sounds one after one and when I write this:
Response.Write("<bgsound src='file1.wma' loop='1'>");
Response.Write("<bgsound src='file2.wma'loop='1'>");
It plays both together..
delay didin't seem to help.
Got any ideas?
Posted

yeah, I thought about it but i need to run in in particular event
 
Share this answer
 
Comments
[no name] 2-Jun-11 4:28am    
You can add javascript in the event:

Dim jsscript As String = "<script type=""text/javascript"">doSomething();</script>"
ScriptManager.RegisterClientScriptBlock(Me, Me.GetType, "runscript", jsscript, False)
I don't know if it this will solve your problem, but I would try playing the sounds at the client with javascript (Ajax updatepanel, timer). Perhaps that will solve your problem.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900