Posted on 2007-03-29
I'm supposed to create a 'Quiz' application. It will be built using
and answers will be stored in a .XML document that will be parsed by
and user data.
The 'application' will be distributed on cd-rom only. So, no internet
access will be required or used. I plan on structuring it exactly like
a regular web site, but on a cd instead. The user will launch an initial
.html document and then all paths will be relative to that initial document.
Before the user can take the 'Quiz', they must watch a video. These
videos will be in .FLV format and will be streamed directly from the CD.
The client is requiring that the user cannot take the 'Quiz' until they have
'absolutely' watched the video all the way through. So, I thought I could
add some sort of a hidden trigger at the end of the movie to set a cookie
So, here's where I am stuck... I need a way to know when the movie
has been watched all the way through. At that point, I need to 'unlock' the
Quiz for the user.
Question: What functionality is there from within a .FLV to either:
(1) Set a browser cookie from within the .FLV?
I'm trying to avoid having to actually import each video directly into
a .swf timeline. That way, the client can easily swap the Quiz and
Video content without having to re-publish/compile anything in
Any help you feel like passing my way would be appreciated!