# setStyle doesn't work for media component?

**URL:** <https://forum.kirupa.com/t/setstyle-doesnt-work-for-media-component/243022>\
**Category:** flash\
**Created:** [November 1, 2007, 9:58pm UTC](https://forum.kirupa.com/t/setstyle-doesnt-work-for-media-component/243022 "2007-11-01T21:58:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)\
**Post date:** [November 1, 2007, 9:58pm UTC](https://forum.kirupa.com/t/setstyle-doesnt-work-for-media-component/243022/1 "2007-11-01T21:58:06Z")

</div>

I’ve tried both of the below options to modify the media playback component at runtime. The play/pause button accepts the themeColor value but the rest of it still appears as the standard haloGreen look.

Can anyone help?

```auto

_global.style.setStyle("themeColor", "haloBlue");
// and
videoPlayer.setStyle("themeColor", "haloBlue");

```
