Skip to main content
Participant
July 19, 2006
Question

change audio from streaming to event

  • July 19, 2006
  • 2 replies
  • 214 views
I built a flash player in my website using mediacontroller and mediadisplay. I have about 4 songs on the webpage. I don't want it to start playing until the play button is hit. Is there a way to change the audio from streaming to event. Or do you have any suggestions on a different way to do this.. Thanks
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
July 19, 2006
you can't stop the streaming with those components but you can control its autoPlay property (set it to false) and you can use the play() method to start the streaming when your button is pressed.
kglad
Community Expert
Community Expert
July 19, 2006
what code is used to create (instantiate) your sound object?
jo1293Author
Participant
July 19, 2006
Sorry I don't know, I'm new to flash. It was all done behind the scenes in flash Pro 8 using the component menu

.