9 Replies Latest reply on Jun 24, 2010 3:53 PM by mlabriola

    overridden [Before] function doesn't get called in Flex4

    sanggpark Level 1

      Here's my setup



      public class TestBase



           public function setupBase():void {

                // base setup




           public function setupTest():void { }




      public class Test


           override public function setupTest():void


                // test setup




           public function sampleTest():void

           {     // test




      This set up used to work in Flex 3. But I recently started migrating to Flex 4 and now this test doesn't behave as expected. With Flex 3, setupBase gets called first, then setupTest, then sampleTest. But with Flex 4, setupTest doesn't get called at all. What has changed? Is there a fix for this?