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>
>


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

Reply via email to