I have made a video in flash and have put it on Dreamweaver to use on my website. I have used action script to get my video to play on click but I wanted to have a JavaScript function on it as well (to link the person to a random website after the movie length). I have the function working (with a button) but can find no way of getting it to work with the video, I have tried embedding it (<embed src...) and also using the option in Dreamweaver (which inserts lots of code). Any hep would be greatly appreciated.