Cool, How Do I Do It? First you’re going to need to put your javascript function between the head tags of your document. For this example, I’ve used the following function: 1 2 3 4 5 Moving on, you’re going to need to make a small Flash video that contains either a button, or something else that can trigger events. If you’ve already previously built something, and you want to make javascript cal..