PDA

View Full Version : Audio stop


Brave Heart
04-26-2007, 03:01 AM
Hello,

I have a project with several pages. In one page, there is a TreeList for playing audio files.

How can I make audio files stop playing (automatically)whenever I leave this page to the other pages?

Thanks

RizlaUK
04-26-2007, 07:19 AM
put in the page on close event:


Audio.Stop(CHANNEL_ALL);

output enhanced with AMS Code Pretty (http://www.indigorose.com/forums/showthread.php?t=19409)

Brave Heart
04-26-2007, 10:10 AM
Thanks dear for your help.

Everything is ok now.