lynda.com has alot of online Flash training videos that might help you learn some basics, or try actionscript.org, I've found both sites tobe really helpfull.
I don't know about lynda.com, but actionscript.org is usually my first stop if something doesn't work. They have a ton of material, and just about every possible question (a lot is code-related, but others as well) has already been asked before in their forums... you just have to find it
actionscript.org is one of the best sites you can use but honestly, I would say get a book to help learn it. Flash CS3 Professional Bible is a really good book that will teach you literally everything