How to Make a Flash Movie a Link

Flash is the source of most all video content on the web. It is used by popular sites, such as Youtube and Vimeo, and offers users the ability to share videos with others via the use of embed tags. Perhaps you want to link the video to a relevant webpage, using the video itself as the link. This is actually quite easy to do and only involves a single line of additional JavaScript that can be added to the embed code.

Instructions

    • 1

      Locate the "<object>" tag in your embed code. Place your cursor one space after the "t" in "object." You are choosing the object tag, as this encompasses the entire video, meaning the whole video will act as a link.

    • 2

      Type in onclick="javascript: window.open('');" exactly as it is shown here. There should be at least one space between the "t" in "object" and the code. If done properly, your code will look something like <object onClick="window.open('')">.

    • 3

      Type the address you wish the Flash video to redirect to in between the two parentheses of the code in Step 2. Make sure to include the "http://" portion of the URL. For example, you could type in "http://www.google.com/." The forward slash after ".com" is not necessary, though it is good practice to include it. When the user clicks the video, it will start playing and open a link to the site you specified.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured