6 Replies Latest reply on Feb 4, 2011 10:32 AM by Pablo Souza

    Cannot override "initialize" method on Application class

    JabbyPandaUA Level 3

      Hi all,


      Compilation of the following:


      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                     xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:local="*">    
                  override public function initialize():void {                


      returns an error:

      Test_Initialize.mxml     1021: Duplicate function definition.     /Test_Initialize/src     line 7     Flex Problem


      Compiler bug?