RE: [Flashcoders] SCORM development and packaging for LMS
Hi Matt, That's a relief, I just re-read the technical requirements, and they state Scorm 1.2 (although the server's help files mention both). One last question for now - what do you use to generate the Manifest file? Is there a freeware solution out there, or is it something done by hand? Thanks, Karina -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: 15 December 2011 5:30 To: Flash Coders List Subject: Re: [Flashcoders] SCORM development and packaging for LMS Oh no, go for old! 1.2 is so much easier and is still very very widely supported. But also ask your client. On Dec 15, 2011, at 12:25 PM, Karina Steffens kar...@neo-archaic.net wrote: Found it, it looks quite detailed. I guess I better aim for 2004 - since I'm starting from scratch, there's no point in going for an older protocol, although the many more files sounds a bit daunting. Also the idea of creating a manifest file with every single asset by hand... Thanks, Karina -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins Sent: 15 December 2011 4:17 To: Flash Coders List Subject: Re: [Flashcoders] SCORM development and packaging for LMS Yeah a scorm package is a zip file. You'll need to include the manifest file, imsmanifest.xml, that contains the course info. Scorm 2004 has many more files for more metadata that you'll need. Check out scorm.com for info and google a PDF called in the eye of the scorm it's a good primer. On Dec 15, 2011, at 10:44 AM, Karina Steffens karina@neo- archaic.net wrote: Jason, Matt, Nathan - thanks for the pipewerks endorsement. I've already downloaded the AS3 classes and the JavaScript wrapper, and it's good to know that the code is solid. But how do I go about compiling the lot into a SCORM package for uploading to the LMS? What is a SCORM package anyway? Is it just a zip file with all the ingredients, or a special format that requires a tool? The TotalLMS files mention something about compatible packages for proper versioning. Thanks, Karina -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik Sent: 15 December 2011 3:07 To: Flash Coders List Subject: Re: [Flashcoders] SCORM development and packaging for LMS I've used pipwerks SCORM wrapper with an elearning course I did a couple years back. Just ExternalInterface calls and letting the javascript do the dirty work for me seemed best for me at the time. http://pipwerks.com/2008/02/10/flash-demos-for-scorm-actionscript- classes-now-available/ -hth ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM development and packaging for LMS
I've used pipwerks SCORM wrapper with an elearning course I did a couple years back. Just ExternalInterface calls and letting the javascript do the dirty work for me seemed best for me at the time. http://pipwerks.com/2008/02/10/flash-demos-for-scorm-actionscript-classes-now-available/ -hth ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
There isn't really anything such as learning JSON, JSON is basically just an object, and is your best bet. You can convert an XML string to JSON, store it, and then when you need it reconvert it to XML if you really need to, but unless you're doing things with E4X that is probably unnecessary. There are several libraries for a number of different languages to work with JSON, a lot of languages have the functionality built in, for AS3 you can use the as3 core lib or you can use this: http://www.thanksmister.com/index.php/archive/json-lite/ Taka On Wed, Jul 28, 2010 at 3:03 PM, Matt Perkins nudoru.m...@gmail.com wrote: Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
The JSON encoder class might do it automatically by passing an XML object to the constructor, idk, look into it maybe. It's also not very hard to loop through an XML node and convert all of it's attributes and children nodes into an object, something like this: (I took 40 seconds to write this, please don't use this in production code without proper testing/verification). function xmlToObj($xml:XML):Object{ var obj:Object = {}; for each(var node:XML in $xml.children()){ obj[node.name()] = xmlToObj(node); } var attributes:XMLList = $x...@*; for (var i:int = 0; i attributes.length(); i++){ trace(attributes[i].name()); obj[String(attributes[i].name())] = attributes[i]; } return obj; } On Wed, Jul 28, 2010 at 3:51 PM, Matt Perkins nudoru.m...@gmail.com wrote: Right, learn was probably a strong word. Just meant that I'd never used it before. Is there an automated was to convert the XML to JSON with AS3? -- Matt Perkins - http://www.nudoru.com On Jul 28, 2010, at 6:12 PM, Taka Kojima t...@gigafied.com wrote: There isn't really anything such as learning JSON, JSON is basically just an object, and is your best bet. You can convert an XML string to JSON, store it, and then when you need it reconvert it to XML if you really need to, but unless you're doing things with E4X that is probably unnecessary. There are several libraries for a number of different languages to work with JSON, a lot of languages have the functionality built in, for AS3 you can use the as3 core lib or you can use this: http://www.thanksmister.com/index.php/archive/json-lite/ Taka On Wed, Jul 28, 2010 at 3:03 PM, Matt Perkins nudoru.m...@gmail.com wrote: Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
Right, learn was probably a strong word. Just meant that I'd never used it before. Is there an automated was to convert the XML to JSON with AS3? -- Matt Perkins - http://www.nudoru.com On Jul 28, 2010, at 6:12 PM, Taka Kojima t...@gigafied.com wrote: There isn't really anything such as learning JSON, JSON is basically just an object, and is your best bet. You can convert an XML string to JSON, store it, and then when you need it reconvert it to XML if you really need to, but unless you're doing things with E4X that is probably unnecessary. There are several libraries for a number of different languages to work with JSON, a lot of languages have the functionality built in, for AS3 you can use the as3 core lib or you can use this: http://www.thanksmister.com/index.php/archive/json-lite/ Taka On Wed, Jul 28, 2010 at 3:03 PM, Matt Perkins nudoru.m...@gmail.com wrote: Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
Thanks, I'll look into that strategy -- Matt Perkins - http://www.nudoru.com On Jul 28, 2010, at 7:43 PM, Taka Kojima t...@gigafied.com wrote: The JSON encoder class might do it automatically by passing an XML object to the constructor, idk, look into it maybe. It's also not very hard to loop through an XML node and convert all of it's attributes and children nodes into an object, something like this: (I took 40 seconds to write this, please don't use this in production code without proper testing/verification). function xmlToObj($xml:XML):Object{ var obj:Object = {}; for each(var node:XML in $xml.children()){ obj[node.name()] = xmlToObj(node); } var attributes:XMLList = $x...@*; for (var i:int = 0; i attributes.length(); i++){ trace(attributes[i].name()); obj[String(attributes[i].name())] = attributes[i]; } return obj; } On Wed, Jul 28, 2010 at 3:51 PM, Matt Perkins nudoru.m...@gmail.com wrote: Right, learn was probably a strong word. Just meant that I'd never used it before. Is there an automated was to convert the XML to JSON with AS3? -- Matt Perkins - http://www.nudoru.com On Jul 28, 2010, at 6:12 PM, Taka Kojima t...@gigafied.com wrote: There isn't really anything such as learning JSON, JSON is basically just an object, and is your best bet. You can convert an XML string to JSON, store it, and then when you need it reconvert it to XML if you really need to, but unless you're doing things with E4X that is probably unnecessary. There are several libraries for a number of different languages to work with JSON, a lot of languages have the functionality built in, for AS3 you can use the as3 core lib or you can use this: http://www.thanksmister.com/index.php/archive/json-lite/ Taka On Wed, Jul 28, 2010 at 3:03 PM, Matt Perkins nudoru.m...@gmail.com wrote: Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
I'm not sure you are really going to gain that much by using JSON instead of XML. ByteArrays have built-in compression as you mention (I think the compression algorithm zlib). Since XMLs generally have a fair amount of redundancy, it will probably reduce the size of your data (in bytes) considerably. To be safe, encode the bytearray to base 64 and store that. Base 64 means 1/3 overhead (for every 3 bytes in, you get 4 bytes out). Still, it'll probably be smaller than the equivalent JSON (though you might want to test it and see if this is true). Cheers Juan Pablo Califano 2010/7/28 Matt Perkins nudoru.m...@gmail.com Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
PS: Just made a quick test with a rather big xml and this is what I got (sizes are in bytes): xml: 49725 compressed bytearray: 9488 compressed bytearray + base 64: 12652 The figures may vary as the compression depends on the data, but at least here I got about a 1/4 of the original size after encoding to base 64, which is not bad, I'd say. Cheers Juan Pablo Califano 2010/7/28 Juan Pablo Califano califa010.flashcod...@gmail.com I'm not sure you are really going to gain that much by using JSON instead of XML. ByteArrays have built-in compression as you mention (I think the compression algorithm zlib). Since XMLs generally have a fair amount of redundancy, it will probably reduce the size of your data (in bytes) considerably. To be safe, encode the bytearray to base 64 and store that. Base 64 means 1/3 overhead (for every 3 bytes in, you get 4 bytes out). Still, it'll probably be smaller than the equivalent JSON (though you might want to test it and see if this is true). Cheers Juan Pablo Califano 2010/7/28 Matt Perkins nudoru.m...@gmail.com Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM Q - Strategies for saving large suspend data strings
I found this same solution searching around the net - looks like it'll work perfectly. Thanks for suggesting it also! -- Matt Perkins - http://www.nudoru.com On Jul 28, 2010, at 9:53 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: PS: Just made a quick test with a rather big xml and this is what I got (sizes are in bytes): xml: 49725 compressed bytearray: 9488 compressed bytearray + base 64: 12652 The figures may vary as the compression depends on the data, but at least here I got about a 1/4 of the original size after encoding to base 64, which is not bad, I'd say. Cheers Juan Pablo Califano 2010/7/28 Juan Pablo Califano califa010.flashcod...@gmail.com I'm not sure you are really going to gain that much by using JSON instead of XML. ByteArrays have built-in compression as you mention (I think the compression algorithm zlib). Since XMLs generally have a fair amount of redundancy, it will probably reduce the size of your data (in bytes) considerably. To be safe, encode the bytearray to base 64 and store that. Base 64 means 1/3 overhead (for every 3 bytes in, you get 4 bytes out). Still, it'll probably be smaller than the equivalent JSON (though you might want to test it and see if this is true). Cheers Juan Pablo Califano 2010/7/28 Matt Perkins nudoru.m...@gmail.com Wondering if someone has had this problem and found a good solution ... I've developed a social simulation that has a lot of data that i need to save between user sessions in the suspend_data SCORM variable to our LMS. I'm formatting this data as XML since 1, has a good structure and 2, i know it. Suspend_data only has 4k of space and my XML (as a string) is pretty big - doubly so since the LMS encodes it and all of the single char , and /'s get turned into 4 chars. But i've used attributes and 1-2 char tag names where i can. I'm going to try to compress the string with ByteArray and see if that helps, but I'm not sure if the special characters will mess with the LMS communication - I've had that happen many times before with just HTML page text. Other option is to learn JSON and do it that way. Have anyone else faced something like this and solved it? -- Matt Perkins http://www.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SCORM?
Hi: Yes, you can iterate at the end and send all the values to the LMS in order. Sometimes the users can answer a question in a different order as we expected, so if you try to send the value of the fourth question and you didn't initialize in the LMS the first, second and third questions, the LMS will show you an error. So, to avoid it, I first send a zero value for all objectives at the beginning of the exam to avoid these error. In addition, sometimes the users answer a question and the leave the course and return some hours later, in this case you need to commit the result after the user answer the question, because if you send the values to the LMS at the end but the user didn't finish the lesson you will lost the values of the first questions. Let me know if you have more questions. Carolina - Original Message - From: Dave Mennenoh [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 01, 2007 8:24 AM Subject: Re: [Flashcoders] SCORM? Thanks for all the info on SCORM, it really helped a lot. Carolina mentioned using objectives to record all 21 answers. Nice idea... But I'm not entirely sure about what you mentioned regarding having to initialize them all first. I have an array of 21 values - can I just iterate that and set the objectives at the end, before closing the LMS? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. Tutopia es Internet para todos. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
Thanks for all the info on SCORM, it really helped a lot. Carolina mentioned using objectives to record all 21 answers. Nice idea... But I'm not entirely sure about what you mentioned regarding having to initialize them all first. I have an array of 21 values - can I just iterate that and set the objectives at the end, before closing the LMS? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
For your FLV, you should load it dynamically and keep it external. We had lots of external assets used by our SWF (MP3, FLV, pictures) and we kept them out of the SCOs and out of the imsmanifest.xml, it was becoming hard to list all those files in there ! But if you only have a few external files, then you should (as it is best practice) keep them listed in the manifest. Great, glad to know this is possible. However, did you have control of the LMS server? Or are the FLV's on a separate server? I as as the whole point of scorm and sco's are to enable them to be deployed by almost any LMS, and the admins of this one seem to think that is important. Thanks for the scoring info. I think we'll just keep the overall score for now as that should work fine. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] SCORM?
Usually we didn't have control over the LMS server but that didn't matter (except for updating and testing ... but that's another story) We delivered everything in our package ... let's say you had a directory structure as follow : - imsmanifest.xml - course (folder) - SCO1.html - sco1.swf - assets (folder) - movie.FLV - movie2.FLV - sound.mp3 - etc ... So when you send your PIF (simple .zip file) to the LMS, all the necessary info should be there. No need to put your movies on another server. They can be all in your package. Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 29 janvier 2007 11:33 To: Flashcoders mailing list Subject: Re: [Flashcoders] SCORM? For your FLV, you should load it dynamically and keep it external. We had lots of external assets used by our SWF (MP3, FLV, pictures) and we kept them out of the SCOs and out of the imsmanifest.xml, it was becoming hard to list all those files in there ! But if you only have a few external files, then you should (as it is best practice) keep them listed in the manifest. Great, glad to know this is possible. However, did you have control of the LMS server? Or are the FLV's on a separate server? I as as the whole point of scorm and sco's are to enable them to be deployed by almost any LMS, and the admins of this one seem to think that is important. Thanks for the scoring info. I think we'll just keep the overall score for now as that should work fine. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.14/657 - Release Date: 2007-01-29 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.14/657 - Release Date: 2007-01-29 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
Hi Dave: I use scorm 1.2 version, when I need to more than one score I use objectives. Each objective works like the score, and it can allow you 21 questions, each objective can have min, max and raw. To work with objective you have to know that the objectives are zero-index, and in the beginning of your quiz, you have to initialize them first. You can write an objective if you didn't initialize first, and you cannot initialize the second of you don't initialize the first. The path for objectives are: To know how many objective are: cmi.objectives._count The score of the first objective: cmi.objectives.0.score.raw Min value of the first objective: cmi.objectives.0.score.min Max value of the first objective: cmi.objectives.0.score.max I hope it helps you Carolina Avila - Original Message - From: Dave Mennenoh [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, January 27, 2007 8:38 AM Subject: [Flashcoders] SCORM? I did a small quiz for a client and now they've decided to make it integrate into their LMS. I did some looking and it seems using external interface and calling the LMS like so: ExternalInterface.call(LMSInitialize); should work pretty well. However two things are not making sense to me. I see how I can call LMSSetValue to set the users score but I only see min, max, and raw score entries. The quiz has 21 questions, can I not track the response for each question? Finally, this quiz has a bunch of associated FLV's - 50MB worth. Can the video content be kept outside of the SCO package? Does it need to be included in the manifest XML file? I thought I could just place the flvs on their server and reference them from Flash... that's what I was hoping. Thanks for any insight. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. Tutopia es Internet para todos. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
You have 2 solutions concerning your Quizz issue, 1. In case each question is a SCO, get the current score from the LMS with FlashVars and send the updated value to the LMS. 2. Have your quiz (all 21 questions) in only one SCO and send the score at the end. as for the FLV's they should be refered inside the SWF only, no need to add them to the manifest. Only the SCO entry points are usually required in it. HTH Alain Dave Mennenoh wrote: I did a small quiz for a client and now they've decided to make it integrate into their LMS. I did some looking and it seems using external interface and calling the LMS like so: ExternalInterface.call(LMSInitialize); should work pretty well. However two things are not making sense to me. I see how I can call LMSSetValue to set the users score but I only see min, max, and raw score entries. The quiz has 21 questions, can I not track the response for each question? Finally, this quiz has a bunch of associated FLV's - 50MB worth. Can the video content be kept outside of the SCO package? Does it need to be included in the manifest XML file? I thought I could just place the flvs on their server and reference them from Flash... that's what I was hoping. Thanks for any insight. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] SCORM?
Can the video content be kept outside of the SCO package? Does it need to be included in the manifest XML file? I would strongly urge you to include any content files that are required to be included in the manifest. Technically, you may be able to get away with not including the FLVs in the manifest, but that is no guarantee that any given LMS will be okay with it. Also, from my point of view, I often view the manifest file as the inventory of required files for delivering a SCORM-compliant course. If it isn't in the manifest then I should need the file to properly run the course. If it is in the manifest, then I MUST HAVE the file. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
Thanks for the info, but saying I should include the files in the manifest xml file is not saying I should need ti include them within the SCO itself. Do I need to? I can see from the perspective of allowing any LMS to deploy this SCO that the video files should be in the SCO... but is a 50MB SCO a normal thing? Seems to negate the whole point of using streaming files. Also, Alain said - have all 21 questions in one SCO and send the score at the end. This is what I have... they wanted SCORM at the end so it was never developed for scorm compatibility in the first place... From what I see though sending at the end only allows me to send the min,max or core scores... so min at 0 and max at 21 and they got 18 right - so that's the core score... it works OK, but is not the best. Without having separate SCO's for each question, is it possible to record the answers for each question - or is it only possible to record the fact that they got 18 right out of 21...? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SCORM?
For your FLV, you should load it dynamically and keep it external. We had lots of external assets used by our SWF (MP3, FLV, pictures) and we kept them out of the SCOs and out of the imsmanifest.xml, it was becoming hard to list all those files in there ! But if you only have a few external files, then you should (as it is best practice) keep them listed in the manifest. As for your score handling ... Here is what we did : We kept track of the scores inside the Flash (considering we had 1 SCO for the quiz) and only sent out the failed, passed or incomplete status back to the LMS. Also we used a Flash SharedObject to keep track of where the user was last time in his answers and progress. You could send that out in your location variable to the LMS as well, depending on how much information you want to send. There are some limitations to string length to consider. So it's up to you to decide how you want to track the score inside the SCO. You just need to send the right information back to the LMS, and get it back properly through FlashVars and / or SharedObjects. The downside of SharedObjects is that if the user changes computers to try again the Quiz all the previous progress saved in the last session won't be accessible. Alain Dave Mennenoh wrote: Thanks for the info, but saying I should include the files in the manifest xml file is not saying I should need ti include them within the SCO itself. Do I need to? I can see from the perspective of allowing any LMS to deploy this SCO that the video files should be in the SCO... but is a 50MB SCO a normal thing? Seems to negate the whole point of using streaming files. Also, Alain said - have all 21 questions in one SCO and send the score at the end. This is what I have... they wanted SCORM at the end so it was never developed for scorm compatibility in the first place... From what I see though sending at the end only allows me to send the min,max or core scores... so min at 0 and max at 21 and they got 18 right - so that's the core score... it works OK, but is not the best. Without having separate SCO's for each question, is it possible to record the answers for each question - or is it only possible to record the fact that they got 18 right out of 21...? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] SCORM multi api wrapper
I believe that you can't get any return value that way (not sure, could be wrong). What you need to do is call a javascript with proxy.call wich then (the javascript) calls another function that sends data to flash through the proxy ... A better way to do that, if you use Flash 8, is to use ExternalInterface. I did some E-Learning in the past and we only sent data to the wrapper, the only time we retrieved anything was on the first load with flashvars HTH A. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: 25 octobre 2006 09:50 To: Flashcoders mailing list; Open Source Flash Mailing List Subject: [Flashcoders] SCORM multi api wrapper Guys, sorry for posting on both mailing lists, but I don't know where it belongs. With the SCORM Version 1.2/2004 Template for Flash , if you do following : proxy.call( apiCall, getValue, _DataModelElement_ ); how can you access the value proxy.call doesn't return anything, and if you do following : var value:String = proxy.call( apiCall, getValue, _DataModelElement_ ); Mtasc gives an error, because proxy.call has no return value. Lieven Cardoen Ps : I've searched for this on flashforlearning.com, on adobe sit, google, ... and found nothing Lieven Cardoen Application developer indiegroup interactive digital experience engelse wandeling 2 k18 b8500 kortrijk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 2006-10-24 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 2006-10-24 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] SCORM
Hi, Have you tried http://www.adlnet.org ? It has forums and the actual SCORM specs too. I don't think there is a specific mailing list... But if you find one, let me know too. -beverly -Original Message- From: Lieven Cardoen [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com; osflash@osflash.org Sent: 04/25/06 5:31 AM Subject: [Flashcoders] SCORM Is there a good mailing list for questions related to SCORM? lieven cardoen indiegroup interactive digital experience engelse wandeling 2 k18 b8500 kortrijk T +32 (0)56/361 197 // communicatie bij voorkeur op [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com