sorry all, forget my previous idiocy, I found another (cleaner) way:
I just embed a SWF with the import statements and classes  
instanciation into a global shared SWF ...
I am now just using SWFMill to do it:)



> Hello all,
> I am trying to create an empty movieclip (goal is to build a shared
> assets with code in it, so I can share it like fonts, ...) and to
> attach to it some classes ... like
>
> MC: first frame, code:
> import com.blabla.ClassA;
> import com.blabla.ClassB;
> import com.blabla.ClassC;
> var myA = new ClassA();
> var myB = new ClassB();
> var myC = new ClassC();
>
> what are the options for me ?
> I know I am being dumb on this one, but I couldn't find any info ...
> thanks,
> Cedric


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to