Some of the major uses for Java scripts the everyday user comes across are navigation, images, and text. These scripts work primarily by changing one effect to another based on the link the user chooses. These scripts work primarily by changing one effect to another based on the link the user chooses. A perfect example is a text or image link that changes color as the mouse moves over the link or when the mouse button is pressed. Simple effects with limited, but satisfactory results.
Flash can work in the same way, but with vast differences.
Some significant differences are the ability to use specific fonts, sounds, and images with more dynamic arrangement. Most Java effects use text images, but Flash files provide a smaller file size with customized fonts. If a site with 10 text image links requires 10 additional images for the rollover, and possibly 10 more when the link is activated, we are looking at loading 30 images. Javascripts work within the HTML coding of web pages and anyone viewing that page can obtain the source. With that Java source, anyone can edit and duplicate the Java script for their own specific use.