Re: [Flashcoders] Exporting AS2 classes across multiple frames?

2008-02-12 Thread Hans Wichman
Hi, you can put classes in an swf and use the swf as a dll. It's a hassle but its doable. You load the swf in a specific frame, the swf only contains classes and they become available from that frame onwards. Again, im not sure if you should do this if the only reason is that you'd rather write

Re: [Flashcoders] Exporting AS2 classes across multiple frames?

2008-02-12 Thread EECOLOR
I might be wrong here, but if I recall correctly you can in fact load all your classes in frame 2. Make sure none of your MovieClips have the 'export in first frame' option enabled and place those MovieClips in frame 2. As for your other non-visual classes, just make sure they are not called

Re: [Flashcoders] Exporting AS2 classes across multiple frames?

2008-02-12 Thread Glen Pike
Hi, Don't think you can do this - I think all classes (code) are exported to the same frame, but your movieclips can be distributed along the timeline so you gain something there. You may want to look at your ultimate aim as you could do this a different way: If you are trying to

[Flashcoders] Exporting AS2 classes across multiple frames?

2008-02-12 Thread Henry Cooke
Hey all, I'm trying to work out if there's a way I can export AS2 classes to more than one frame: I'm experimenting with fine-grained loading and preloaders written in AS2. So for instance, does anyone know if it's possible to write a preloader in AS2, then export *only* that class to frame 1 of