HI. How I can get access Application's script from instance of some class. Application's script I mean that:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientColors="[#272936, #272936]" xmlns:components="components.*" xmlns:panels="panels.*" currentState="main" creationComplete="createLayout();" width="100%" height="100%"> <mx:Script> <![CDATA[ import components.AdvancedPanel; import panels.CallListPanel; public function test2():void { } ]]> </mx:Script> for example function test2 ?