# How can I fake SystemManager?

**URL:** <https://forum.kirupa.com/t/how-can-i-fake-systemmanager/286215>\
**Category:** flash\
**Created:** [April 12, 2009, 12:48am UTC](https://forum.kirupa.com/t/how-can-i-fake-systemmanager/286215 "2009-04-12T00:48:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvxvw](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Post date:** [April 12, 2009, 12:48am UTC](https://forum.kirupa.com/t/how-can-i-fake-systemmanager/286215/1 "2009-04-12T00:48:56Z")

</div>

I need to tell Flex compiler that my custom class is SystemManager and it has to create on it info() and create(…rest) functions.  
Why do I need this:

- lots of additional compiler arguments are set at compile time to the object returned by SystemManager#info() function. But this function isn’t written into other document classes besides SystemManager. Even if I call my custom class mx.managers.SystemManager it won’t get that function overridden… I believe this should be buried somewhere in Java / Ant files, i.e. at some point compiler has to decide whether to write this function or not, and there’s something that should trigger it to actually do it, but I don’t know what it is…  
Any insights, please? 🙂
