PDA

View Full Version : May I ask somebody to help me solve this...?


scliem
10-08-2006, 08:21 AM
My problem is, how can I PAUSE my background music that automatic play in startup at specific page; and CONTINUE to playback the background music after leaving that specific page?

Thanks...

ScottDuncan
10-09-2006, 04:13 PM
How about on the particular Page Properties, add script to

On Preload

Audio.Pause(CHANNEL_BACKROUND);


On Close

Audio.Play(CHANNEL_BACKROUND);


Hope that helps

scliem
10-10-2006, 01:06 AM
Still can't work...

When it leave, then it start play again, not continue...

However, thanks for your help!!!

yosik
10-10-2006, 12:37 PM
CHange the above script to the following:

On Preload

Audio.Pause(CHANNEL_BACKGROUND);
AudioPos = Audio.GetCurrentPos(CHANNEL_BACKGROUND);

On Close

Audio.Seek(CHANNEL_BACKGROUND, 4, AudioPos);

Good luck

Yossi

scliem
10-11-2006, 12:59 PM
I get it already, thanks!!!!