
Код:
<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[
public function test2():void
{
}
]]>
</mx:Script>
как можно достучаться к методу test2 из объекта собственного класса?