4 Replies Latest reply on Aug 6, 2009 10:24 AM by Ned Murphy

    want to redirect to a new html page after flv file is done


      1 -  I have a flv file on one frame.   I imported my video and CS3 added it to my library.  I change parameters to autoplay and autorewind.   This is on one frame.   My flv file name is  movie.flv


      2-   When this is done playing I want it to automatically go to main.html


      3-  I read a previous answer on this that gives the following code which I inserted right on the same frame that my flv is loaded.   I named the instance name of this flv as  "flv"


      It isn't working.  Here is the code I picked up on previous forum:  So I put this on the frame where the flv is loaded which is scene 2 frame 1 and instance name of  flv. 




      function completeF(e:Event){

      navigateToURL(new URLRequest("main.html"));



      Here is the error when I try to test it.  


      Statement must appear within on/onClipEvent handler

      The class or interface 'Event' could not be loaded.


      Can anyone give me the code?   I can't add a get URL code because it is a flv on one frame.