SCORM wrapper for Flash Course

525 views
Skip to first unread message

Josh

unread,
Jun 10, 2010, 1:45:26 PM6/10/10
to eLearning Technology and Development
Hi,

Please help me anyone how to apply SCORM wrapper to my flash custom
course. I have main.swf, m1_s1.swf, m1_s2.swf etc.

How to wrap these files for SCORM and track the completion of the
course?

one more question is, how can we use the Flash quiz in my customized
course and track it on LMS?

Thanks,
Ajay

artur trzebunia

unread,
Jun 10, 2010, 6:07:52 PM6/10/10
to elearning-technolo...@googlegroups.com
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


--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.




--
Artur Trzebunia
Instructional Systems Designer
Warner Development

Ajay Kumar

unread,
Jun 11, 2010, 1:21:54 AM6/11/10
to elearning-technolo...@googlegroups.com
Thanks for your reply Artur,

Sure  I am going to go through the tutorial and get understand of it. I am actually not an hardcore Flash programmer. But I am trying to do this with help of you.

I am sending the sample files, what I am trying to do. Please have a look and suggest me how I should go about this.

Thanks,
Ajay
Ajay_SCORM.zip

artur trzebunia

unread,
Jun 15, 2010, 5:06:47 PM6/15/10
to elearning-technolo...@googlegroups.com
Ajay, I'm looking at your course you sent and have a question.  Are you preventing the learner from going to Pg2, Pg3, Pg4, etc. until they complete the previous page?  In other words, does the learner have to complete some action on Pg1 to go to Pg2, and so on?  If so, to keep this bookmarked in the LMS, you will want to create a layer in frame 1 called 'Page Completion Variables' or something similar.  You should move all the frames over to the right by 1 frame, so your course menu should be on frame 2, pg1 on frame 3, etc. b/c you don't want to return to the course menu at some point in the course and reset all the variables.  You want the variables to be in their own frame (frame 1) and you don't want the user to return to frame 1 while they are in the course, so the course menu will need to be at least on frame 2.

THIS IS ActionScript 2 EXAMPLE!

Your variables in frame 1 should be something like this:

var pg1Completed:Boolean = false;
var pg2Completed:Boolean = false;
etc.

Then, when you access pg1 (and pg1 is a SWF that loads into pg1 frame) and complete it by performing some action on that page, i.e. clicking a button, you want to code on pg1 frame to be something like this:

// In pg1 SWF timeline
someBtn.onRelease = function():Void
{
_root.pgCompleted = true;  // _root only works in AS2, so if you're using AS3, you will have to reference pg1Completed variable in the main FLA another way (I don't know AS3).

// other code here that takes the learner back to the course menu or pg 2...
}

If your course is not set up like this currently, you will want to set it up this way first.  Let me know when you've completed this.

Ajay Kumar

unread,
Jun 16, 2010, 1:05:35 AM6/16/10
to elearning-technolo...@googlegroups.com
Thanks Artur,

I will do this and let you know. then we will proceed with other steps.

Thanks,
Ajay

Masdalifadzlie M Saaid

unread,
Aug 2, 2013, 12:22:52 AM8/2/13
to elearning-technolo...@googlegroups.com
Hi Josh & Athur,

I realize that this discussion was made over 2 years ago. May I know how it goes? I would like to know the further progress until the final step (zipping the scorm package and upload them for testing).

Thanks & regards,
Fadzlie
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
--
Artur Trzebunia
Instructional Systems Designer
Warner Development

--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.



--
Artur Trzebunia
Instructional Systems Designer
Warner Development

--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages