Understanding Classes
- Started
- Last post
- 3 Responses
- Prev
What are some good web resources to learning or being introduced to classes in Flash. I understand actionscript enough to do rudimentary things like loading a movie etc., but I need to go a step deeper and I don't understand classes yet.
websites or books please.
grazi
- UndoUndo0
start with OOP which is class based. understand the fundamentals of that and yr well on yr way. OOP basics are the same in each language.
I would also look at writing functions and understanding them too.
http://www.kirupa.com/ is well worth book marking
- nuggler0
AS2 is a lot like Java. I'm taking O'Reilly's online OOP class that uses java. it's helping.
- SteveJobs0
classes are simply templates that allow you to create objects. an object is an instantiation of a class. a class can have properties or functions (called methods).
you can determine the scope of these properties and methods by making them public or private.
classes can 'inherit' from other classes. this is called inheritance. :O
classes just make programming easier, but many n00b programmers use them too often in situations where their programs won't benefit from their use and wind up writing hard-to-manage code.
beware of programming fads.
love,
SteveJobs
x0x0x0