You could always use a document class and have that suck in a "main" class & kick it off using the document class.
On Mon, Dec 1, 2008 at 9:46 AM, Mendelsohn, Michael < [EMAIL PROTECTED]> wrote: > Hi list... > > Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I > usually create a singleton on frame 1 of the _root and everything takes > off from there. > > What's the best practice of doing that in AS3, where I have to have a > main class that seems to start everything. I can't imagine how a > singleton controlling all logic should extend a Sprite class. Is it OK > to still instance a singleton on the root in frame 1 even with a > document class automatically instancing too? > > Thanks, > - Michael M. > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

