Hehe no worries there, I'm sure we all do stuff that causes someone else to say they need to kill... etc :) It was meant as a joke nothing harsh to be honest:).
You are hijacking this thread though, which is in itself ofcourse enough reason to ... :) But short answer: - buy a good object oriented book, Essential Actionscript for example. Probably a book with something on classes, actionscript, classes in actionscript, and nothing or very little on patterns. Although some patterns are very simple I'd stay away from them for a while if you are still struggling to come to terms with object orientation. Anyway once you've finished your first book, grab a new one and keep doing that :) Some answer though: - you dont code AS2 classes on frames, you just write as2 classes in files. Once you compile your movie, flash lets you specify in which frame your classes should be exported. - if your class is in a package a.b.c.MyClass flash expects you to hand it a directory, called a classpath, which will have a folder structure mimicking your package structure, say a\b\c\MyClass.as that is all there is to it. This is all pretty basic stuff/info though, most of which should become clear to you when you struggle through Flash's help files. greetz JC On 8/10/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote: > > Hi from someone about to be killed, revived and killed again and > probably revived to be torture and killed again, again. > > I code everything on the second frame of my main movie, since I could > till today understand how to code in classes and use them, but I really > like to learn, since I don't want to die three times, what do you guys > suggest me? > > I code use functions, returns, and strong type almost everything I do, > my main complications to understand classes, is that english is not my > primary language, and all the documents I've read, got me confusing, > even thought I think my english is not that bad. > > And I really didn't understood the whole path thing with classes, and > how to code them on the second frame so I can have very light preloaders. > > C'mon be merciful :) > > David Ngo wrote: > > "Anyone found guilty of using AS includes, is killed, revived and killed > > again :)" > > > > > > LOL. I say the same thing about people using onEnterFrame's for almost > > everything, like XML loading/parsing. > > > > > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com