The framework we now use in flex was different than the one we used with Flash on one crucial point. With the Flash version every class (or actually module, a set of classes) was loaded in at runtime and had its own swf, wich contained only one line of code:
package.ClassName; When u needed a class, the swf was loaded in and as soon as it finished loading the class would be available. The problem with flex is that u also use mxml classes, wich is something the Flash Compiler cannot compile. U might want to investigate this approach using the flex compiler and create swf's of all classes. It wouldn't be to hard to write a piece of software that loops recursively through a given directory compiling classes. A problem here might be classes referencing another class, resulting in an swf with more than just one class. Hope this helps your thinking.. Greetz Erik -----Original Message----- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: woensdag 6 april 2005 12:06 To: [email protected] Subject: RE: [flexcoders] Re: createChild dynamically via DB arguments.. sorry, should read in general: the compiler includes a class into the resulting SWF if there's at least *one* reference to it. instead of > in general: the compiler includes all classes into the resulting SWF > if there's at least *one* reference to it. > There's no class loader as in Java. Dirk. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

