# Setting a components font through AS2?

**URL:** https://forum.kirupa.com/t/setting-a-components-font-through-as2/258358
**Category:** flash
**Created:** [April 23, 2008, 11:42am UTC](https://forum.kirupa.com/t/setting-a-components-font-through-as2/258358 "2008-04-23T11:42:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tommiwalsh](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@tommiwalsh](https://forum.kirupa.com/u/tommiwalsh)
#### Post date: [April 23, 2008, 11:42am UTC](https://forum.kirupa.com/t/setting-a-components-font-through-as2/258358/1 "2008-04-23T11:42:32Z")

</div>

Hi,

I’ve downloaded a component for a collapsible menu that gets its data from XML, the problem is that I need to change the font and thats not in its parameters? I know how to do that in AS 3.0 but when I switch to AS 3.0 the component no longer works. It only seems to work with Flash Player 6. Is there any ways in AS 1.0 or AS 2.0 that I can define which font the component uses?

Thanks,  
Tom
