User Profile

Collapse

Profile Sidebar

Collapse
anagiga
anagiga
Last Activity: Apr 21 '10, 02:32 AM
Joined: Apr 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anagiga
    replied to adding event listener (go to url)
    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?
    See more | Go to post

    Leave a comment:


  • anagiga
    replied to adding event listener (go to url)
    I will next time, do you have any suggestions on how to fix the code?
    Thanks!
    See more | Go to post

    Leave a comment:


  • anagiga
    started a topic adding event listener (go to url)

    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");
    ...
    See more | Go to post
    Last edited by Dormilich; Apr 21 '10, 01:55 AM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...