# Adding skin to flvplayer changes alignment and width value

**URL:** <https://forum.kirupa.com/t/adding-skin-to-flvplayer-changes-alignment-and-width-value/243651>\
**Category:** Uncategorized\
**Created:** [November 9, 2007, 8:55am UTC](https://forum.kirupa.com/t/adding-skin-to-flvplayer-changes-alignment-and-width-value/243651 "2007-11-09T08:55:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celticvfx](https://avatars.discourse-cdn.com/v4/letter/c/7ba0ec/32.png) [@celticvfx](https://forum.kirupa.com/u/celticvfx)\
**Post date:** [November 9, 2007, 8:55am UTC](https://forum.kirupa.com/t/adding-skin-to-flvplayer-changes-alignment-and-width-value/243651/1 "2007-11-09T08:55:29Z")

</div>

I have an .swf that contains a simple flv player w/ generic skin. When my main flash stage calls the .swf in to play the .flv , instead of being centered it appears aligned left. When I remove the skin, it centers fine.

I traced the width value of the .swf and it gets thrown into huge values (which throws off my .\_x centering calc) with the skin on, but with the skin off, the width is of the correct size…I cant hardcode it because its a dynamic .flv size (fed from an XML file)

any thoughts?

TIA  
celticvfx
