Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » How can I determine if a sound is playing? [AS3]


How can I determine if a sound is playing? [AS3]

Reply
  #1 (permalink)  
Old 04-01-09, 06:26 AM
jaxz jaxz is offline
Newbie Coder
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
How can I determine if a sound is playing? [AS3]

How can I determine if a sound is playing? [AS3]


I need to determine if a sound is currently playing in a particular SoundChannel.

I need this since I call a function using onEventComplete to manage initiation of playback in two related sound channels, SC_A and SC_B.


In essence, when the latest sound has been completed in either SC_A or SC_B, I wish to call this function and start a new sound in the SC that completed.


Thus, if a sound in SC_A is currently playing, I wish to start the next parallell sound in SC_B and vice versa.


What property can I use to get this info?


Please advice,

Jaxz
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash audio clip playing TOO fast. t49518 Flash & ActionScript 0 05-12-07 09:08 PM
Java Sound Help Plz mmc Everything Java 1 11-15-06 04:07 PM
Suppress Sound in IE when a new Page Loads immortal_king JavaScript 3 10-11-06 08:04 PM
Play a sound on button click magicadmin JavaScript 0 08-31-06 05:54 AM
FPS in SoCal – Software Engineer (Sound) DigitalMedia Job Offers & Assistance 0 03-22-06 07:19 PM


All times are GMT -5. The time now is 06:42 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.