Technologies come and go. When I was a kid - the coolest thing in the world was the NextStep computer. It died but eventually reemerged as the Mac OS. Languages come and go as well. Flex and AS were great for a time - but the proprietary nature of the language killed it a few years ago. The web in general has moved away from plugin based interfaces. As standards have come together - the browser makes have adopted js as the language of choice with CSS/HTML for templates and styles.
That's not something to fear - that's just the way technology works. It's a tool. JS is easy to learn - so learn it. The tools available today in various platforms are easy to pick up as well. JS has some truly great parts - like promises - that were never really implemented in Flex/flash. I think it's a good idea as a dev to always keep learning. It doesn't matter that tech A is killed by tech B --- if you keep learning you will always have a job. Sent from my iPhone

