Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-09-2002, 02:36 AM   #1
Senior Member
Join Date: Jul 2002
Location: argentina
Posts: 150
Send a message via ICQ to uramis Send a message via MSN to uramis
Default help with sound!!

i have LOTS of problems, and my english is... low level student . so i hope you'll understand me.
basically, im trying to add very shot looping sound to diferent parts of my movie. so, if you are in part 1, there is a sound looping, and when you move to part 2, the sound changes. but when i "click" to go to part 2, i want the action to "wait" till the other sound to end, and then executes the action, with sound 2.

first problem: if i loop the sound with lots of loops:
the "sound.onSoundComplete" will activate when the last loop its done.

if i do this:
function nextsound() {
sonido = new Sound(sonidosw00);
sonido.onSoundComplete = nextsound;

i can use the sound.onSoundComplete action, and it works fine, but there is a little lag between the looping sounds (from sound1 to sound1, to sound 1, until the event), and since the sound its only 0,937 seconds lenght, it doesnt "sounds" good. the little delay its 38 miliseconds.

so, does anyone knows a way to solve this? even if i have to write a script a mile long, all i want is the the sound to loop correctly, and the event to wait the sound to complete, change the frame, and start a new sound.

uramis is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kenny Bellew Sound Object Tutorial Updated Kennyb ActionScript 2.0 23 05-09-2007 08:38 PM
How can I play sound exactly on event without gap ? sces99 ActionScript 2.0 0 07-21-2004 07:34 AM
mozilla sound problem spacether ActionScript 1.0 (and below) 0 07-03-2004 06:53 PM
Sound and Websites spazmaster General Chat 7 05-13-2004 07:06 PM
Control Sound Object puthisorn ActionScript 2.0 9 05-06-2004 04:20 AM

All times are GMT. The time now is 08:22 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.