An SWC.  Just make sure all of your components force the class into the SWF:

import YourClass;
var dependYourClass:YourClass;

And then compile an SWC that merely does the above.  Put the SWC into your 
library, and viola!

...it'll be hard to do syntax checking in AS only, or in MTASC without at 
least intrinsics, but if you don't want to port AS files around, well, 
that's the tradeoff.

----- Original Message ----- 
From: "Kevin Cannon" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 21, 2006 10:39 AM
Subject: [Flashcoders] Managing Components and external .as files


Hi,

I've started building a library of my own components for thing I reuse 
accross
projects.

I usually build stuff with external .as files, so I was wondering how I can
have manage the library of components if each component will have it's own
external as file. I don't want to copy the .as file into each project when I
need to use it.

What approach should I take?

Thanks,

- Kevin
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to