Hello,
I have been trying for most of the afternoon to make an FLV that will load a new page (specifically just refresh the page it is on, but loading it again is just as good and probably easier) when it ends.
So far I have converted my video to an FLV, imported it to the stage with "Load external video with playback component" and created a cue point at the end of the video that is named "end".
I have no experience with Actionscript 3, and I haven't been able to figure out how to make the video getURL("whatever"); when it finishes...
Below is what I've come up with so far that isn't doing anything at all, but it's mostly guesswork so it's probably completely wrong. My instance of FLVplayback is called "player"
Code:
import fl.video.CuePointManager;
player.addEventListener('end');
{
getURL("whatever");
};
I'm sure this isn't a difficult thing to do, it seems pretty basic, can anyone help me out?
Links removed from code because I don't have 50 posts.