How can I bundle classes within the swf?

I want to bundle tweener class in my as2 swf so that I dont have to include the classes directory along with the swf. How do I do that?

When you import classes with your fla - they are complied with the swf - so you don’t need them side-by-side the swf. If you’re using the #include directive - thats the same but different :slight_smile:

When using an include, the code is still compiled with your clip - but if you simply want to remove the #include statement - you simply copy/paste code from the include doc, right onto the frame where the #include was at.

If you’re talking about making a component - a complied component within the library, I can’t help much with that, but you might search kirupa for compiled components or google that.

hope this helps