Some on-line resources
General OOP
http://java.sun.com/docs/books/tutorial/java/concepts/index.html - short, clear and free
http://www.aonaware.com/OOP1.htm - basic stuff again.
http://www.desy.de/gna/html/cc/Tutorial/tutorial.html - very long and detail - step by step walk through the rational behind OOP - C++ from 1997

Actionscript and OOP
http://polygeek.com/360_adobeflash/actionscript_the-best-way-to-start-learning-object-oriented-programming-in-actionscript - a pre-course briefing to get you ready for OOP in ActionScript
http://www.moock.org/lectures/introToOOP/
http://www.kirupa.com/developer/oop2/AS2OOPindex.htm
http://www.flashscript.biz/MX2004/OOP_tutorial/lesson1.html
http://www.debreuil.com/docs/ch01_Intro.htm - Flash 5 but the OO part has not changed a lot.

I have added these links to
http://tech.groups.yahoo.com/group/Script_in_Action/

Also check out the books.
I highly recommend Head First Design Patterns if you want to see the power of objects clearly demonstrated. It will save you hours of grappling with the design of your classes and cut your code in half while increasing robustness and reusability.

Ron

Marcelo Wolfgang wrote:
On 8/10/07, Hans Wichman <[EMAIL PROTECTED]> wrote:
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:).

I got it :)

You are hijacking this thread though, which is in itself ofcourse enough
reason to ... :)

Sorry, I was about to ask about this for quite sometime, but I'm too
f. busy recently and when I saw the joke I had to answer :)


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.

I think what I don't get the most is how do I transform this

function myFunction(){
  return this;
}

to a class and how I can call it later in something like

btClose_mc.onRelease = myFunction();

i'm thinking in buying moock's essential actionscript 3, but I'm
afraid it will hard to jump from where I'm now to where the book is.

TIA
Marcelo Wolfgang
_______________________________________________
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

Reply via email to