# Can't access button in flv skin

**URL:** <https://forum.kirupa.com/t/cant-access-button-in-flv-skin/289519>\
**Category:** flash\
**Created:** [June 1, 2009, 10:14am UTC](https://forum.kirupa.com/t/cant-access-button-in-flv-skin/289519 "2009-06-01T10:14:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxelcat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxelcat/32/2854_2.png) [@maxelcat](https://forum.kirupa.com/u/maxelcat)\
**Post date:** [June 1, 2009, 10:14am UTC](https://forum.kirupa.com/t/cant-access-button-in-flv-skin/289519/1 "2009-06-01T10:14:00Z")

</div>

Hi

I am using a flvplayback component which I have attached to my own skin.

I want to be able to target the full screen toggle button since I can’t get the fullscreen to work and others posts have led me to think that it might be better to code that bit myself.

For the skin fla the button that I want to get at has this written in the properties class box “fl.video.skin.FullScreenButtonOnOver”

I figured I might be able to get at this from my main timeline so I added the code below :

```auto

stop();
function edward(event:MouseEvent):void{
 trace ("the button was pressed");
}
 
fl.video.skin.FullScreenButtonOnOver.addEventListener(MouseEvent.CLICK, edward);

```

which doesn’t work. It says “access of undefined property fl” - which I can kindof understand…

Anyway, what should I write please to access that button?

Thanks

E
