# Adobe AIR(flex) accessing mxml components from classes

**URL:** <https://forum.kirupa.com/t/adobe-air-flex-accessing-mxml-components-from-classes/307555>\
**Category:** Uncategorized\
**Created:** [April 6, 2010, 12:52am UTC](https://forum.kirupa.com/t/adobe-air-flex-accessing-mxml-components-from-classes/307555 "2010-04-06T00:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lszanto](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@lszanto](https://forum.kirupa.com/u/lszanto)\
**Post date:** [April 6, 2010, 12:52am UTC](https://forum.kirupa.com/t/adobe-air-flex-accessing-mxml-components-from-classes/307555/1 "2010-04-06T00:52:06Z")

</div>

Hey,

So i’m working on an application and I would like to be able to access the mxml components from anywhere inside of my project, for example if I have a class I would like to be able to change labels on the GUI of the application.

I have found examples/workarounds of how to do this in Flex but as this is really an Air application they don’t work.

I was just wondering if there is any simple methods to access the GUI from inside classes and if not are there any harder/more complex methods?

Thanks, Luke
