Discussion:
Monitor end of music to call a get URL.
(too old to reply)
tommyt
2004-07-04 05:16:57 UTC
Permalink
I need to write script to call another flash external movie with getURL at the
instant the music stops. The initial flash program gives a show on stage with
curtains opening and some acts on the stage, and after the show, the curtans
close and the stage remains in tact with no futher action on screen until the
end of the music. Howver the music continues about 45 seconds after all is
done. I need to call another url as soon as the music is done. Is there a way
I can begin to monitor the music to call get url when the music is done. This
would then load another url.
I can't just time it, and load the next url in 45 seconds as some shows have
music longer than others.
I hope there is a loop I can set up to keep checking the music status like we
check the loading frame status to see when it is done.
Any ideas would be greatly appreciated.
Jack.
2004-07-04 12:02:18 UTC
Permalink
create a Sound object to hold your sound,
look at - mySoundObject.onSoundComplete = callbackFunction
to detect the sound completion,

hth
k***@gmail.com
2014-03-23 01:28:00 UTC
Permalink
You need to create xml and than you can call such request. Referenced annualmusic.com
Loading...