PDA

View Full Version : Help Mw with Audio


chrisJF
11-22-2006, 05:59 PM
Please Help me!!!
I have 17 music on the background audio and I need to play a specific music.
I would like to play the specific music and after that play the others in sequence.
How can i do this?
Sorry for the english. I'm from Brazil.
Thanks...

chrisJF
11-22-2006, 07:52 PM
Anyone?
Please!

fsadario
11-22-2006, 08:04 PM
Meaby this can help you:
Go to Project> Audio and load the files to play in the order who you want to play it.
Sorry for my english, From Argentina:cool

chrisJF
11-22-2006, 08:11 PM
yes, but now i want to play, for exemple, the music 6 first on page 4, and after, play the rest:7, 8, 9, 10....begins with the music 6 on this page.

fsadario
11-22-2006, 08:30 PM
well .. im not a professional ...but meaby this example can help you ;)
The example is attached in this posts.

You can do it (but with more sounds) with this simple code in the "On Show" scripts in the page:

-- Stop the current audio playing... --
Audio.Stop(CHANNEL_NARRATION);
-- Load the new audio for play
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Sound1.ogg", true, false);
-- When the other audio ends, with this you load the next audio --
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Sound2.ogg", true, false);

Good Luck:cool