Re: [Flashcoders] linked class must extends MovieClip ???

2008-10-14 Thread laurent

jonathan howe a écrit :

Hi, Laurent,

Supposing you have a class mySubclass

myBase should extend MovieClip and created before you set linkage for
mySubclass
In Linkage Properties for mySubclass:
Class = full.package.path.to.mySubclass
Base class = full.package.path.to.myBase
  
Ha yes this Base class field became invisible to my brain after never 
using it...ok I get it, thanks a lot!!

L

Of course, myBase can also be a library symbol. In Linkage Properties for
myBase:
Class = full.package.path.to.myBase
Base class = flash.display.MovieClip

-jonathan


On Mon, Oct 13, 2008 at 1:42 AM, laurent [EMAIL PROTECTED] wrote:

  

Hi,

What about having a 'Base' class extending MovieClip then myBase extending
Base and link myBase to an asset from library.

...

5000: The class 'myBase' must subclass 'flash.display.MovieClip' since it
is linked to a library symbol of that type.

This is the error returned. How to have a class extending a class,
extending MovieClip, linked to a MovieClip ?

thx
L
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] linked class must extends MovieClip ???

2008-10-13 Thread jonathan howe
Hi, Laurent,

Supposing you have a class mySubclass

myBase should extend MovieClip and created before you set linkage for
mySubclass

In Linkage Properties for mySubclass:
Class = full.package.path.to.mySubclass
Base class = full.package.path.to.myBase
Of course, myBase can also be a library symbol. In Linkage Properties for
myBase:
Class = full.package.path.to.myBase
Base class = flash.display.MovieClip

-jonathan


On Mon, Oct 13, 2008 at 1:42 AM, laurent [EMAIL PROTECTED] wrote:


 Hi,

 What about having a 'Base' class extending MovieClip then myBase extending
 Base and link myBase to an asset from library.

 ...

 5000: The class 'myBase' must subclass 'flash.display.MovieClip' since it
 is linked to a library symbol of that type.

 This is the error returned. How to have a class extending a class,
 extending MovieClip, linked to a MovieClip ?

 thx
 L
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] linked class must extends MovieClip ???

2008-10-12 Thread laurent


Hi,

What about having a 'Base' class extending MovieClip then myBase 
extending Base and link myBase to an asset from library.


...

5000: The class 'myBase' must subclass 'flash.display.MovieClip' since 
it is linked to a library symbol of that type.


This is the error returned. How to have a class extending a class, 
extending MovieClip, linked to a MovieClip ?


thx
L
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders