# Custom main window

**URL:** <https://forum.kirupa.com/t/custom-main-window/305157>\
**Category:** flash\
**Created:** [February 19, 2010, 10:41pm UTC](https://forum.kirupa.com/t/custom-main-window/305157 "2010-02-19T22:41:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wallis2xk](https://avatars.discourse-cdn.com/v4/letter/w/ed655f/32.png) [@wallis2xk](https://forum.kirupa.com/u/wallis2xk)\
**Post date:** [February 19, 2010, 10:41pm UTC](https://forum.kirupa.com/t/custom-main-window/305157/1 "2010-02-19T22:41:25Z")

</div>

What’s the best way to have a Custom window component as your main app window in AIR (built in Flex)? Is it within the mxml, or to create it dynamically as I’m having issues either way?
