[Flashcoders] extends MovieClip and static methods

2008-10-06 Thread laurent
Hi, Is it possible to have a class that extends MovieClip linked to a movie in the library and have statics methods and vars in it ?? L ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] extends MovieClip and static methods

2008-10-06 Thread laurent
Sorry I was not receiving mails when I send that: Hi, Is it possible to have a class that extends MovieClip linked to a movie in the library and have statics methods and vars in it ?? L if any answer can you repost ? thx :) L ___ Flashcoders

Re: [Flashcoders] extends MovieClip and static methods

2008-10-06 Thread jonathan howe
Hi, Laurent, I don't see why not... if you're having trouble, the number one culprit when doing library linkage is often that the Flash IDE has an incorrect Class name and is secretly creating an unrelated class file behind the scenes. Double check your linkage settings, make sure the package is

Re: [Flashcoders] extends MovieClip and static methods

2008-10-06 Thread laurent
Hi Jonathan, No the linking is good, I actually compile the fla containing that class with no problem. But when compiling my main that refer the the static method of that class it throw me errors about 1119: Access of possibly undefined property body through a reference with static type

[Fwd: Re: [Flashcoders] extends MovieClip and static methods]

2008-10-06 Thread laurent
Hi Jonathan, No the linking is good, I actually compile the fla containing that class with no problem. But when compiling my main that refer the the static method of that class it throw me errors about 1119: Access of possibly undefined property body through a reference with static type

Re: [Flashcoders] extends MovieClip and static methods

2008-10-06 Thread laurent
ok being less demanding, I made the call to my static method from the mc ( menu ) containing the class and from my main, I call menu.function(); that call the static one. No call of the static method is made from outside de mc it's compiled in. It's a workaround, I have no idea if it's