# Problem reusing Custom Skins for multiple FLVPlayback components

**URL:** https://forum.kirupa.com/t/problem-reusing-custom-skins-for-multiple-flvplayback-components/285178
**Category:** flash
**Created:** [March 27, 2009, 10:56pm UTC](https://forum.kirupa.com/t/problem-reusing-custom-skins-for-multiple-flvplayback-components/285178 "2009-03-27T22:56:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hobbbz](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@hobbbz](https://forum.kirupa.com/u/hobbbz)
#### Post date: [March 27, 2009, 10:56pm UTC](https://forum.kirupa.com/t/problem-reusing-custom-skins-for-multiple-flvplayback-components/285178/1 "2009-03-27T22:56:48Z")

</div>

I have a media player I’m building that accepts many different types of media.

The main parent loads a swf containing video control components (playPauseButton, seekBar, bufferingBar, etc.)

this swf is only loaded once (the first time an FLV or MP3 gets requested)

I have a custom FLVPlayback wrapper that contains a method for wiring up flvPlayback.playPauseButton = skin.playPauseButton\_mc; etc. for each button

I also have a clearSkin() method that sets all buttons = null (which should work based on what I’ve read in the UIManager class)

However, when I do clearSkin() on one FLVMedia object and then applySkin() on another the skin seems to create a duplicate of itself and I can see 2 instances of the seekbar handle one tied to the current FLVMedia object and one from the old FLVMedia.

Has anyone ever experienced such issues? Any ideas?
