Pyros is correct. Flash 5 (and the earlier Flash 4) does use Active Scripts, which are basically souped up javascript and vbscript that allows better ineractivity with the Flash animations.
Flash is actually no different than something you would do in Photoshop - all animations are made up of frames and layers, with each layer doing a different animation or behavior. The learning curve is pretty steep for the absolute newbie, but once you get the hang of it, it's very fun to do (and is a good thing to have in your resume).
------------------
Open Tech Support http://www.opentechsupport.net