Hi Ajay, helping you with this may take a few emails, so I'll start with this one. I've been looking for answers for how to do this for over 6 months, so I know how hard it can be to try to figure this issue out on your own. First, we will be using
pipwerks.com as our source for information, files, code, etc. So, the first thing I recommend you do is visit,
http://pipwerks.com/2008/04/27/how-to-add-basic-scorm-code-to-a-flash-movie/ and read and follow the short tutorial using the files that the site offers. Don't use your course files as it is a bit more complex, I'm sure. The tutorial is based on AS3, SCORM1.2. Is your Flash an AS2 or AS3 file? I can offer best help if you're using AS2 and want the course in SCORM1.2.
Aside from the tutorial, here's a quick outline of how we can scorm-ify your course, as it's layout is similar to mine, I think. Do m1_s1.swf and m1_s2.swf load into main.swf, into an empty movieclip? Are your completion variables for certain chapters all located in the main FLA file? In other words, do you have any completion variables that indicate that m1_s1.swf is completed or m1_s2.swf is completed somewhere other than the main FLA file? In other words, from m1_s1.swf timeline, you should be using code such as (in AS2):
_root.m1s1Completed = true; //_root in this case points to a variable 'm1s1Completed' defined in main.fla. Does this make sense? Is this how your variables are set up?
What we will do in the next emails is:
1) Add another layer to your main.fla file and call it SCORM1.2 and add scorm and bookmarking code there.
2) In other areas of your main.fla, m1_s1.fla, and m1_s2.fla, we will add code that tells the LMS to save variable values for bookmarking, mark course completion, and close the window in which the course is running, thus ending the LMS session.
3) Modify the published html file to include two simple lines of scorm code.
4) Create the imsmanifest.xml file.
5) Zip our scorm package and upload the course for testing
One thing I can't help you with is the Flash quiz and scorm. I don't know how to do that, yet.
Anyway, try to tutorial first and stay tunned...
Artur
--
Artur Trzebunia
Instructional Systems Designer
Warner Development