JDowzell
03-25-2006, 09:47 PM
Hi.
I'm using the following sound code:
win1Sound = new Sound(this);
win1Sound.attachSound("Victory1");
win2Sound = new Sound(this);
win2Sound.attachSound("Victory2");
to define the sounds, then when i want them played I use this code:
_root.win1Sound.start(0, 0);
_root.win2Sound.start(0, 999);
but this plays both at the same time.
Is there a way I can get a (for example) 4 second delay between the first one playing and the second one?
I'm using the following sound code:
win1Sound = new Sound(this);
win1Sound.attachSound("Victory1");
win2Sound = new Sound(this);
win2Sound.attachSound("Victory2");
to define the sounds, then when i want them played I use this code:
_root.win1Sound.start(0, 0);
_root.win2Sound.start(0, 999);
but this plays both at the same time.
Is there a way I can get a (for example) 4 second delay between the first one playing and the second one?