Skip to main content
Known Participant
March 19, 2010
Question

video/sound won't stop

  • March 19, 2010
  • 1 reply
  • 813 views

Hello...

I am in frame 20 which is playing a video, How do I get it to stop sound and video when some clicks a menu button to go to another frame?

Where do I put the code?

I seem to have this problem alot!

Barb

This topic has been closed for replies.

1 reply

March 19, 2010

Sounds like you'd put the code in the listener function for your button.

schugabugAuthor
Known Participant
March 19, 2010

Thanks for your help. But it's not working, nothing works when i do

that. I

I get a paramater must be non null output error....

So I tried, just on the home button listener:

if (vidPlayer == !null)

vidPlayer.stop();

And that stops the video player from displaying on all the frames

but sound doesn't stop.

Any ideas?

Also don't I totally removing it from the display list? How would I

do that?

Barb

schugabugAuthor
Known Participant
March 19, 2010

Anybody have any idea?