Playing Sound--Bug?

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Playing Sound--Bug?

Postby mercedes » Mon Aug 18, 2008 3:47 am

Hi there..:)


I have copied and pasted the Global procedures for playing sound..and in 1 hotspot i have it to play sound..In another hotspot..I have "StopSound" when i hit the hotspot..the first time in Testing it stops the sound...but if i go back and hit it..It tells me that it doens't support this object "StopSound" I'm assuming that it might be doing that because it is done listening to sound..Like it stopped it already and is maybe giving me an error..But thats not good really..If the user hits the same hotspot..they will get the error also..? It also gives me this error in a frame If i set in the frame instead..:? If the user goes into this frame..and the sound hasn't come on yet..they will get this error..


Peace~
Adieux~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Lyberodoggy » Mon Aug 18, 2008 7:14 pm

Change the procedure of playing a sound so that it makes a variable 1 and the stopsound so that it makes the variable 0
then check if the variable=1 to stop the sound

If var=1 then
Stopsound
end if.


the other way is to disable the hotspot after clicking it but doesnt work for frames.
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests