you know you dont have to reference 'this' inside the class, right?  :D




On 11/6/06, JulianG <[EMAIL PROTECTED]> wrote:

// ActionScript 2.0

class Freelancer extends Person {

    var available_time:Number; // hours per day

    // Constructor
    function Freelancer( hs:Number ){
        this.available_time = hs;
    }

    function onIdle(){
        if( this.available_time > 2 ){
            this.workWithPixeltoys();
        }
    }

    function workWithPixeltoys(){
        getURL("mailto:[EMAIL PROTECTED]");
    }

}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to