Justine:

Above all ... thank you for responding so quickly ...

I think that my journey through the open source flash development world will
be a highway to hell ... not a stairway to heaven :P ...

I was researching on the subject at saint google, and i found MTASC doesn't
allow nested functions ... ( I forgot to say that I was using the MTASC
compiler in my earlier question )

but ... i found a "solution" ... if i do something like this :

class myClass {

  public function myClass() {
  }

  public function someMethod() {

    var nested:Function = function nestedFunction() {
        something ...
     }

    nestedFunction();

  }
}

IT WORKS !!! ... but I don't know why ... :(

Maybe I should delegate rather than nest ...

Cheers !!!
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to