I have a project that involves a 3 minute video (avi) and a Flash quiz. Once the video is done playing, I need it to load/play my flash quiz without the user clicking a link.
I'm not doing a great job making this work. I created a new Flash 8 doc and imported my vid and set a cue point for the end of the movie. My idea is once the cue point hits the end of the movie, load quiz.swf.
The cue Points are:
Name Time Type
end 00:03:34.643 Event
Parameters for "end"
Name Value
quiz pass
The action script is:
var vidList:Object = new Object ();
vidList.cuePoint = function(cues) {
pass.loadmovieNum("quiz.swf", 0);
}
vid.addEventListener("cuepoint", vidList);
Am I way off base on this? Thank you.
I'm not doing a great job making this work. I created a new Flash 8 doc and imported my vid and set a cue point for the end of the movie. My idea is once the cue point hits the end of the movie, load quiz.swf.
The cue Points are:
Name Time Type
end 00:03:34.643 Event
Parameters for "end"
Name Value
quiz pass
The action script is:
var vidList:Object = new Object ();
vidList.cuePoint = function(cues) {
pass.loadmovieNum("quiz.swf", 0);
}
vid.addEventListener("cuepoint", vidList);
Am I way off base on this? Thank you.