Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
so a simple array to track them all: trace("\n\n\n\nCOUNTER COUNT ** ") ; var timeoutTracker : Array = new Array(); var myTimer : Number ; var counter : uint ; myTimer = setTimeout ( myfunc, 1000, "first"); timeoutTracker.push(myTimer); myTimer = setTimeout ( myfunc, 1100, "second"); timeout

Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
Hi Bob, Yeah after looking at my code I realized there was an issue with my set up. I am controlling the calls to the sound with time outs... and my idea was that if I cleared the time out variable that I was assigning all my time outs to, that for some reason all would be cleared but I was wrong.

Re: [Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Bob Leisle
Hi Helmut, This looks more like an issue of lingering variables, or a queue that is not properly re-initialized at the pause, than of a problem with the Sound Object . How are you storing the references to the sounds? How are you controlling the sequential playing of the sounds? Bob Helmut

[Flashcoders] [AS3] Sound Object Overlays

2008-03-13 Thread Helmut Granda
I am having a dilema with the sound Object. I have a player that plays sounds in certain order, when the user "resets" the movie the sounds play again. The issue is that somewhere the Sound Object remembers what sound was in "queue" thus when you reach certain point your "o