# Stylechanger from a flash movie

**URL:** <https://forum.kirupa.com/t/stylechanger-from-a-flash-movie/105843>\
**Category:** Uncategorized\
**Created:** [March 30, 2004, 8:15am UTC](https://forum.kirupa.com/t/stylechanger-from-a-flash-movie/105843 "2004-03-30T08:15:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wouthor](https://avatars.discourse-cdn.com/v4/letter/w/dfb087/32.png) [@Wouthor](https://forum.kirupa.com/u/Wouthor)\
**Post date:** [March 30, 2004, 8:15am UTC](https://forum.kirupa.com/t/stylechanger-from-a-flash-movie/105843/1 "2004-03-30T08:15:29Z")

</div>

Hi people,

I want to make a stylesheet changer… i found two articles on Alistapart how to make one using Javascript: [http://www.alistapart.com/articles/alternate/](http://www.alistapart.com/articles/alternate/) and PHP: [http://www.alistapart.com/articles/phpswitch/](http://www.alistapart.com/articles/phpswitch/)

But I would like to call the script from a flash movie, I tried the PHP one, it works on most browsers except for internet explorer…

The Javascript stylechanger uses this tag:

a href="#" onclick=“setActiveStyleSheet(‘default’);  
return false;”\>change style to default

to call the script. So my question is; can this be done with actionscript? or has anyone managed to do this?

Thanks in advance
