2 Replies Latest reply on May 3, 2010 3:04 PM by Jason San Jose

    as3 compiler error

    john07.ru Level 1

      package{

        import flash.display.Sprite;

       

        public class test extends Sprite{

          public function test(){

       

          }

          public function set data(val:XML):void{

       

          }

          private function foo(data:XML):void{

            this.data=data;  // compiler don't detect this error

          }

        }

      }

       

       

      This code have error (this.data=data) assing to noexist variable

      but Flash Builder don't show error