Hi Felipe,

The only thing that I can think of is that you have two classes with
the same name and package and MTASC is reading the one that doesn't
have the register() method in it. Check to see that you don't have
multiple class paths going on, or that you have added this class to
the global Macromedia classpath. Another note, you don't need to
explicitly put Void in your method if it doesn't take arguments, like
with "register(Void)", "register()" should be sufficient.

Good luck,
Chris


On 4/30/06, Felipe Fernandez <[EMAIL PROTECTED]> wrote:
> Hi all,
>    This is my first post in this list. I'm new in FAMES word and I'm in
> trouble with enviroment.
> Now, I have eclipse, asdt, mtasc, flashout and as2ant. I compiled sucessfull
> a simple project but I found some troubles compiling my project. Besides, I
> applied mx v2 components patch, compiling without -mx mtasc option.
> Compiling error is quit rare and I don“t know what's wrong. This is the
> error:
>
> type error myproject.common.util.MDSVUtil have no field register
>
> That error happens in line:
>
> utildg.register();
>
> where I'm calling register function in MDSVUtil. Yes, register is a function
> not a field:
>
> public function register(Void) :Void
>
>
> what's wrong with this?
>
>
> I'm using AS2Ant in order to compile.
> Maybe a refresh problem? MDSVUtil class was modified recently.
>
>
> Thanks and regards.
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>

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

Reply via email to