delphi - Delphi7, is it possible 2 mediaplayers play songs at the same time? -
i have 2 mediaplayers in program. first one, plays music. use mediaplayer2 add sound effects, example when move cursor on button:
procedure tform1.button1mousemove(sender: tobject; shift: tshiftstate; x, y: integer); var mouseup:string; begin mouseup:=extractfilepath(paramstr(0))+'sound effects\mouseupbutton.mp3'; mediaplayer2.filename:=mouseup; mediaplayer2.open; mediaplayer2.start;
i tested , working, when there 1 mediaplayer....what should do? thank you
Comments
Post a Comment