# Video container and Sprite(button)

**URL:** <https://forum.kirupa.com/t/video-container-and-sprite-button/302841>\
**Category:** flash\
**Created:** [January 8, 2010, 12:43pm UTC](https://forum.kirupa.com/t/video-container-and-sprite-button/302841 "2010-01-08T12:43:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xYc](https://avatars.discourse-cdn.com/v4/letter/x/858c86/32.png) [@xYc](https://forum.kirupa.com/u/xYc)\
**Post date:** [January 8, 2010, 12:43pm UTC](https://forum.kirupa.com/t/video-container-and-sprite-button/302841/1 "2010-01-08T12:43:35Z")

</div>

Hello,

Am I missing something or it is just flash? 🙂

Well I have a PlayerVideo which extends Sprite and have 3 children:

1. flash.media.Video
2. flash.display.Sprite as PlayPause button
3. flash.display.Sprite as MuteUnmute button

The thing is that when I have video attached to PlayerVideo, button mouse  
events are not working, when not Sprite buttons are working ok.

Have anybody ever had something similar ? Mybee some workaround?

I have tried wrap with MovieClips and Sprites, but it is the same effect,  
and Yes I have put buttonMode and mouseEnabled to true for buttons.🙂

Still no ideas ? 🙂
