-
fscommand - SCORM template - completed var
Using Flash 8. Have an LMS (Pathlore) to report just a "completed" variable to and am using the Flash w/SCORM tracking to publish my swf.
In the directions in the template, it say the following:
// Change g_bSetCompletedAutomatically to true if you want the status to
// be set to completed automatically when calling LMSFinish. Normally,
// this flag remains false if the Flash movie itself sets status
// to completed by sending a FSCommand to set status to "completed",
// "passed" or "failed" (both of which imply "completed")
var g_bSetCompletedAutomatically = false;
I need to leave that var at false so if they exit before completion, I will mark them in progress. When completed, I need to know what the FSCommand is that goes into the swf file to pass the var to the html files and LMS. Please help me with the dumb question...I have racked what little brain I have left.
lmmck
-
With Flash 8 it is easier to use externalinterface:
import flash.external.ExternalInterface;
ExternalInterface.call ("javascriptfunction","parameters");
If you use the more or less standard javascriptfiles wich come with SCORM1.2 compatible systems, you can directly call the right javascript function.
Never accept the first 'impossible' unless it comes from a lady.
-
still a question...
The external API look great and will definately look into it. But I don't know that I won't need to publish in a lower level (not flash 8)
BUT...now I just need the fscommand line that I need to put in my fla file to show completed.
Can any one help me with that? Thanks.
LMMCK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|