# Change Child SWF Component Styles

**URL:** https://forum.kirupa.com/t/change-child-swf-component-styles/326941
**Category:** flash
**Created:** [January 24, 2012, 3:02pm UTC](https://forum.kirupa.com/t/change-child-swf-component-styles/326941 "2012-01-24T15:02:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alpha\_Remex](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)
#### Post date: [January 24, 2012, 3:02pm UTC](https://forum.kirupa.com/t/change-child-swf-component-styles/326941/1 "2012-01-24T15:02:19Z")

</div>

Hello all - I have a parent SWF that uses a certain style I created (within the Flash Library itself) for the TextArea component. That is to say I’m not using the “setStyle” function because I got it to look how I want it to within the library object. This parent SWF loads various child SWFs from time to time, which brings me to my problem…

When a child SWF uses the TextArea component, it’s using the style from the parent SWF, even though when I compile it on its own it looks the way I want it to.

Any ideas on how to fix this? I’d like the child swf to use its own TextArea style…

Thanks!  
AR
