User Profile
Collapse
-
I am a new developer, so I am just beginning to learn javascript. I come from a flash background. I want to write a function in javascript if possible, not in actionscript. I need to add an event listener to a video after it has played. Can I do that in javascript? -
I will next time, do you have any suggestions on how to fix the code?
Thanks!Leave a comment:
-
adding event listener (go to url)
I am developing a page in html. I have a div which is playing a flash video. After the flash video stops, I want to take the user to a different url in the same window.
I tried this function but it doesn't work:
...Code:<script type="text/javascript"> function onVideoStopped(evt:VideoEvent):void { var url:URLRequest = new URLRequest("http://google.com"); navigateToURL(url, "_self");
No activity results to display
Show More
Leave a comment: