Method Parameters and Arguments : Member method : Class Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Class » Member method »

 

Method Parameters and Arguments


 

class MyClass {
    internal var varName;
    private var intValue = 1000;

    public function MyClass (name) {
      this.varName = name;
    }

    public function setInt(numberOf) {
      this.intValue += numberOf;
    }
  }

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Class
» Member method