For several years rather than adding to or aiding website functionality, Javascript was infamous for flashing rainbow text, snowflakes and rockets that follow the cursor. Flash can also be held equally responsible for many moments of eye trauma, often with the added benefit of sound effects. Flash (until the last 18 months or so) held the upper hand in abusing the user because it was so much easier to implement. Popular Javascript copy-and-paste websites still list their array of scripts alongside a tally of legacy browsers they are compatible with, an unpleasant reminder of trying to make that cursor-following-screen-shaking-firework-mega-effect work when I was 14.
Frameworks have taken the hassle out of Javascript, particularly jQuery which removes almost all regular Javascript syntax. This makes it much faster to develop with when learnt. It allows a developer to traverse elements without worrying about nodes, get into AJAX without any hassle and all at the same time as taking care of most browser compatibility issues. At 18KB Gzipped it is no surprise that it has huge popularity. jQuery is easier to use than Mootools and YUI (they still follow roughly standard JS syntax) and tiny when compared to the huge Prototype library.
However, as mentioned in my earlier article the ease of development has led to ignorance about degradation, SEO and accessibility so nothing really has changed. There's a mass of websites with massive frameworks attached just so the website can have some tabs, a slide show or have an element animate in - any of which some CSS and 1KB of basic JS can sort out. While I am not against JS frameworks as a rule - for instance when they are working to provide a large amount of functionality - it is when they are being used to complete basic tasks in a fundamentally bad way that makes me want to confiscate them. The over reliance on JS is annoying, Orange have one of the most frustrating and unusable websites around; and they're a communications company.
So what about Flash? It is too an ideal basis to create an over-the-top web interface when really a simple HTML page would have done but when animations can aid a user's understanding, enjoyment and flow around your website it can be ideal. Creating a text based but highly interactive site will usually weigh-in below 50KB - less than most JS frameworks - and at least your interface will be consistent, there will be no widgets begging for attention, no developer tools popping-up because debug code was left in or any problems with an element just not showing up from time to time. What's the best thing about learning Actionscript? It makes creating well structured, degradable Javascript really easy.