I have been having some problems trying to play audio files (wav files) in a player w/o quicktime on windows. the players in mc, rev 2.1 or 2.5 will play wav files fine with quicktime on windows, but if i set dontuseqt to true on preopenstack or dont have quicktime installed on the machine, the audio files will not play. documentation says that audio files and video files (to some extent) should play w/o quicktime on windows. This happens on XP, 2000, and 98.
the player is visible with no controller and buffered (although those dont matter).
anyone have any ideas of why this is not functioning the way the documentation says? Has anyone played audio files on windows w/o quicktime using a player (ie not an audioclip).
Hello,
using mciSendString will take care of yours needs. The scripts below will give you some ideas.
function myMCI tstring
put mciSendString(tstring) into returnValue
get the result
if the result is not empty then
return "error"
else
return returnValue
end if
end myMCI
function playmysound gShortname
--Viderevar: global gLongName --the complete name and path
--Startvar: global ttime
get myMCI("close myaudio")
--OPEN
put "open"&& quote& gLongName & quote&& "type waveaudio alias myaudio" into tstring
get myMCI(tstring)
--GET LENGTH
put myMCI("status myaudio length") into ttime
if ttime is "error" or ttime is not a number then
put 0 into ttime
return ttime
end if
--PLAY
if myMCI("play myaudio from 0") is "error" then
return 0
end if
return ttime
end playmysound
on mouseUp global gLongName put "C:/PROGRA~2/MetaCard/Program/FRAAND~2/t2_01m.wav" into gLongName put "t2_01m.wav" into gShortname if there is a file gLongName then get playMySound (gShortname) end mouseUp
Regards Signe Marie Sanne
1. amanuensis Signe Marie Sanne e-mail: [EMAIL PROTECTED] Romansk Institutt tel: +47 55 58 21 27 �isteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html Norway
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
