Object Oriented Programming!! There's loads about this stuff on the message board and i'm trying to learn it myself!! It's basically a way to assign code to objects and build code relative to real life situations / objects but that's about all I know to make constructing your code organised and easy to deal with! lol - Also check out

C:\Program Files\Macromedia\Flash MX\Help\Flash\html\12_understanding65.html

in your flash help file!

RipX