[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

Re: [Flashcoders] extends MovieClip

2007-02-17 Thread T. Michael Keesey
Look into the [Inspectable] metadata tag. If you place it before a class variable or property, then setting the class under the component definition will automatically populate the parameters. class MyClass { //... [Inspectable(defaultValue=default)] public var myVar:String;

Re: [Flashcoders] extends MovieClip

2007-02-17 Thread Muzak
@chattyfig.figleaf.com Sent: Saturday, February 17, 2007 9:08 AM Subject: Re: [Flashcoders] extends MovieClip Look into the [Inspectable] metadata tag. If you place it before a class variable or property, then setting the class under the component definition will automatically populate the parameters. class

[Flashcoders] extends MovieClip

2007-02-16 Thread David Cohn
Hey all, As per my earlier thread, I've been playing around with the Component Definition dialog box in order to create a class which extends MovieClip, where the class can be passed parameters (or, set in the Parameters tab as the case may be). This seems to implement what I want, but

[Flashcoders] extends MovieClip

2007-02-04 Thread David Cohn
Hey all, Is it possible to use a class extends MovieClip on a pre-existing (authored) MovieClip? I'd like to seamlessly do something like: class blah extends MovieClip { public function blah() { this.onRelease = function() { // handle release

Re: [Flashcoders] extends MovieClip

2007-02-04 Thread Paul Andrews
: David Cohn [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, February 04, 2007 8:07 PM Subject: [Flashcoders] extends MovieClip Hey all, Is it possible to use a class extends MovieClip on a pre-existing (authored) MovieClip? I'd like to seamlessly do something like

Re: [Flashcoders] extends MovieClip

2007-02-04 Thread eka
Hello :) try this code : class Component extends MovieClip { // constructor function Component() { } / Init AsBroadcaster static private var _INIT_BROADCASTER_ = _global.AsBroadcaster.initialize( Component.prototype ) ; public var