Adobe Flex and Flash are far from dead and getting better and better. There have been quite a few new developments lately, like a brand new ActionScript compiler or the insanely cool Adobe Scout profiler (http://vimeo.com/54808142), new releases of Flash player with version 11.6 in beta right now. Visit http://flashdaily.net/ to find out how "dead" Flash is right now.
Well, they killed off the non-Chrome Linux flash player, and then they completely killed off Linux AIR support out of nowhere (too bad if you bought into the whole cross development AIR platform, have fun porting your mxml to a different language and framework!), and just recently they even killed off development of "Flash Player 'Next'". They also decided to require license keys per deployment to unlock the client player if you were using stage3d and the alchemy compiler in a single app (and then they changed their minds again just a few months later).
So building products and applications on the flash player these days is quite the gamble.
Also, JavaFX Script is dead, but JavaFX the library is doing quite well (http://www.oracle.com/technetwork/java/javafx/overview/faq-1...).