5 Replies Latest reply on Oct 5, 2010 9:30 PM by Anitha Selvaraj

    How to call methods from .mxml file from actionscript file

    bryant_16 Level 1

      I have a Example.as and a Test.mxml.


      In this Test.mxml, I have a function which is something like:


      public function doTest():void





      How do I from example.as call this function doTest() from Test.mxml?


      I tried declaring public var test:Test inside my Example.as but I'm still unable to call that function out.


      Any idea how?