I think you should step back, and go read "Javascript: The definitive guide". Also, for a good explanation of prototypical inheritance (Which is far from useless if you understand it), checkout the Douglas Crockford lectures (Vids on yahoo).
Re:Javascript in Ten Minutes
by ryanmahoski on Sunday May 10, 2009 @12:25PM
(#602231)
Here is Crockford's 4 part series, concatenated: http://s3.amazonaws.com/2008/09/javascript.mp4 (178 MB).
Or read javascript: the good parts, it's one of the two reasons I'm a happy javascripter. (The other is that I can restrict myself to ff3.5 which not many people will be able to)
Re:Javascript in Ten Minutes
by sharkbrainguy on Sunday May 10, 2009 @05:53PM
(#602546)
you bastard
Re:Javascript in Ten Minutes
by zackattack on Sunday May 10, 2009 @02:52PM
(#602368)
What makes AS3 so much better than JS? Aren't they both ECMAScript languages?
Silverlight is actually a lot better than Flash in most ways that I've found, too bad it's not installed everywhere like Flash is. I would make some comment about MS being evil, but I think they're about on par with Adobe these days (except they still seem to employ engineers occasionally.)