[osflash] haXe Alpha 3 Released

Aral Balkan aral at ariaware.com
Wed Nov 30 17:11:17 EST 2005


Hey man,

Cool stuff! Any idea why I'm getting the following error:
"Field onEnterFrame have different access right than previous one"

AFAICS, the methods have the overloaded methods have the same access 
rights. A trace for "this" returns "_level0" so I would expect it to 
compile.

With:

class Counter extends MovieClip
{ 
    var i:Int;
    var tf:TextField;

    function onEnterFrame ():Void
    {
        tf.text = "Wow, it's frame: " + (i++);
    }

    function onLoad():Void
    {
        this.createTextField("tf",0,0,0,Stage.width,Stage.height);
    }
}

Thanks + take care,
Aral

Nicolas Cannasse wrote:

>Hi list,
>
>The haXe compiler Alpha 3 have been Released on http://haxe.org
><snip>
>




More information about the osflash mailing list