ActionScript 2.0 :: SCORM 1.2 Setting SCO Objectives Values
Dec 10, 2007
how to set the objectives of a SCO within the LMS reporting of SCORM?
Here is what I have so far:
ActionScript Code:
var theScore = 10;
var theStatus = "c";
var intData = theStatus+";"+"mytestobj"+";"+theScore;
fscommand("MM_cmiSendObjectiveInfo",intData);
The only thing tracking in the LMS is "mytestobj" which is reporting as the objective name.
View 2 Replies
Similar Posts:
Jan 13, 2010
I have 6 movie clip objects and I want to assign them all a value for when the user clicks on them. This value is to be hidden from the user but I will later use it with an additional software to capture the value. I assume this will be done by using a dynamic text field for when the movie clip is pressed.
View 6 Replies
Jun 7, 2004
I'm moving this little red box along the x axis. It just moves w/ the mouse but it moves off the movie clip area, i want to be able to set the left and right boundries. Heres my code.
mc_movingBox.onEnterFrame = function() {
var xMouse = _root._xmouse;
f(Math.abs(xMouse - this._x) < 1) {
[code].....
View 1 Replies
Oct 5, 2004
I'm moving this little red box along the x axis. It just moves w/ the mouse but it moves off the movie clip area, I want to be able to set the left and right boundaries.
Heres my code.
mc_movingBox.onEnterFrame = function() {
var xMouse = _root._xmouse;
if(Math.abs(xMouse - this._x) < 1) {
this._x = xMouse;
} else {
this._x -= (this._x-xMouse) / 6;
}}
View 6 Replies
Jul 24, 2009
I�m calling a ColdFusion page that generates output in the form of a text file to be used in a scrolling dynamic text field.So, Instead of calling a text file like so:
//calls a static text file
loadText.load("StaticTextFile.txt");
Im calling a ColdFusion page like so:
[code].....
View 1 Replies
Oct 5, 2004
I'm moving this little red box along the x axis. It just moves w/ the mouse but it moves off the movie clip area, i want to be able to set the left and right boundries. Heres my code..
mc_movingBox.onEnterFrame = function() {
var xMouse = _root._xmouse;
if(Math.abs(xMouse - this._x) < 1) {
[Code].....
View 6 Replies
Oct 8, 2010
I have Flex 4 DataGrid, what I would like to do is when an cell has been edited, I would then like to walk through the values of that column and preform math on the values, e.g., I want to total up certain values.
1) How do I reference individual values of a specific column so that I may set them.
2) How do I then set those values or should I create a new column array and pop it in place of that column.
View 3 Replies
Dec 28, 2010
how to set default property values for objects that are being created in a loop.
In the example below, these propeties are the same for each object created in the loop: titleTextField.selectable, titleTextField.wordWrap, titleTextField.x
If you pull these properties out of the loop, they are null because the TextField objects have not been created, but it seems silly to have to set them each time.
var titleTextFormat:TextFormat = new TextFormat();
titleTextFormat.size = 10;
titleTextFormat.font = "Arial";
[Code]....
View 4 Replies
Jul 24, 2007
'm trying to do: I have a number of buttons on stage. When you rollover, a movie clip is attached. If you roll out, it disappears; if you click, it stays. Then you can drag it around. I'm using a boolean for the rollout disappearing trick. I've set these up in named functions.
[code]function attachBar(word) {
var showIt=false;
i++;
[code].....
View 2 Replies
Oct 19, 2010
I have a custom component as an item renderer.In this renderer there is an item called dlFirstChoice.Now when I add more items to this list and force the list to rebuild itself something odd happens.Part of the creation of the renderer I set a default selection for the DropDownlist as follows: dlFirstChoice.selectedIndex=0The problem is once I have more than one item to render from my dataset this property stops working. So if my dataset has only 1 item to render the drop downlist sets itseld up properly, the momment I need to render more than 1 copy of my item renderer, all of a sudden nothing gets set fo
View 1 Replies
Nov 7, 2008
I recently finally moved across to my Mac for all of my development work. The main problem I have come across is not being able to test any of my work in a SCORM test suite. The one I have on my PC is the ADL test suite which does not appear to be compatible with the mac, so does anyone know of a suite that is?
View 3 Replies
Dec 11, 2007
I have some variables created on the main timeline and a mc called options which will be where those variables can be manipulated. A way I've tried to this is by creating a first array(array1) and populating it will all the variable names found on the main timeline, and another array(array2) containing the values of the variables the user has changed(which are displayed on some dynamic text fields). To make these changes, an "apply" button is pressed which will set the values found in array2 to the variables in array1.[code]How would you do this so that var1, var2... are updated properly according to the values found in array2?And because array2 contains strings(read from dynamic textfields), how do you deal with that since var1 and var2 are numbers?
View 6 Replies
Jan 6, 2011
I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.
fscommand ("LMSSetValue","cmi.core.score.min,0");
fscommand ("LMSSetValue","cmi.core.score.max,100");
fscommand ("LMSSetValue","cmi.core.score.raw,85");
[code]....
View 9 Replies
Mar 31, 2011
I created a simple fla with two frames. Frame two has this code below to write a score to the lms (blackboard).I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.[code]
View 4 Replies
May 3, 2010
I will like to make buttons in Actionscript 2 or 3 that permit the user to go backwards or forwards in the elearning, id that possible?
View 2 Replies
Nov 11, 2009
My ultimate goal in learning ActionScript 3 is to be able to create cool flash learning interactions for English language learners. All the different activities - drag and drop, multiple-choice - image hotspots etc - multiplayer mode on Grammar Challenge - would record a score which could be output in a SCORM format for a VLE such as Moodle or BlackBoard. The Flash interactions would run inside the VLE inside a simple CSS template content holder div which is resizable and is part of an elastic template. If I can do all that i will rule the world :-)
I've just started reading OReilly.Learning.ActionScript.3.0.A.Beginners.Guid e and I'm finding it quite tough in places. I know a bit about data translation in flat files, EDI, csv but no real programming experience. The real problem is the ActionScript 3.0. I'm starting at the very beginning and have a long way to go. My FLASH skills as a designer are moderate. My questions will always relate to creating or publishing interactions for EFL learners. I hope to be in a position to answer some questions in the future. It's all about the learnin..
Is writing a scoring system that can accept scores from any interraction difficult to write? What kind of competance level would it require? Would that be a sane thing to attempt? The scoring system I'm thinking of would accept input from all over the stage. Right and Wrong answers would be recorded? Length of time spent on each activity - Essentially if I decide something is to be captured it is listened for - recorded and output in a structured, usable and maleable format such as XML. Can you buy generic scoring systems for FLASH? Is there a village somewhere where they're custom built like Harleys? A generic scoring system that acts like a CLASS import to my as file - I just setup the addlistener, configure a few things and FLASH file records the data for outputs to SCORM. That would be really cool. It'd be a major milestone on the road to dominion.
View 0 Replies
Feb 26, 2010
I have custom flash e-learning course and it has 30 swfs and one main swf. I need to do a SCORM package and upload it on LMS.
View 1 Replies
May 7, 2010
I've created a class based eLearning app that's based around flash engine which draws in XML and generates all the non tracked and tracked pages dynamically from the external content (it's multilingual and class template driven)I now have to make it 'Scorm compliant'
That is where i'm coming unstuck. I've only ever seen scorm apps as a physical file per tracked 'page / SCO'Where as I have literally a single swf and external xml, images, videos etc that are being drawn in at runtime.Is there a way of setting up the manifest so that it can target the one active/engine swf file but I can send complete/score/inprogress etc data back for each 'page' that has been completed. I'm tracking all the completion, time and score data etc internally to the flash app but haven't the first clue how to pass it out to Scorm so that data is recorded for each tracked page in each tracked module.
View 2 Replies
Aug 27, 2011
in as2 i used a javascript function to connect with a javaScript wrapper for scorm and it work and now i moved to as3 so i am using the ExternalInterface.call instead of the getURL and that works but all the rest doesnt. know if in as3 i need to do more things to work with scorm?
View 3 Replies
Nov 28, 2011
I need to make Flash AS2.0 SCORM 1.2 fully compliant.I have used pipwerks 1.2 wrapper as a example, and the paging works. However I also need an example that does the following: User name Scoring, Time taken etc.I have tried adding cmi.core.score.raw (In AS 2.0) to get score working but when I test it in Scorm test suit, it does not work, and is not scorm compliant.So can someone tell me how to make flash AS2.0 (and AS3.0) Scorm compliance i.e. what AS code do I need to add by ways of code examples.Also what is the best test suit to test it is scorm compliant?
View 1 Replies
Apr 28, 2010
I am working in an Articulate program that is flash based. I don't get much control over the way parts of it function, so I have added a lot of extras to it via flash movies I inserted.
There is one thing I am trying to figure out. I want to add an object that tells the LMS to mark the course complete. I don't need it to check if the score has been submitted or anything like that, by the time a student gets to this object, the test should be done. I just need a flash movie object I guess with the script that writes the completed status to the LMS.
View 1 Replies
Nov 19, 2009
Does anyone have a simple template that hooks a flash quiz up to an lms using scorm?
View 2 Replies
Jan 28, 2010
I created a quiz from the quiz template in flash. I published it as "Flash with scorm 1.2 tracking"
-How do I create a SCO now?
-How do I use Dreamweaver's scorm run time wrapper and manifest maker?
-Whats my nest step after I publish my files from flash?
Is there any good tutorials on how to create a sco?Dreamweaver's manifest maker says I need sco.Can I just zip up the html and swf file? Is that a sco? It still won't recognize it as a sco.
View 0 Replies
Feb 17, 2010
How do you record / save a button press in Flash as3 and send it to moodle via scorm? I have two buttons, 'choice1' & 'choice2', and would like the users' choice to be recorded to SCORM. I just need to send 'some text' to moodle when the user presses either button.
Have been pointed to 'cmi.interactions' but after spending the entire day trying to find a working example, I'm completely lost. There appear to be no coded examples anywhere.
View 4 Replies
Jun 21, 2011
I have got a flex app that communicates with a Scorm-API.When i run a javascript function from flex with "adl.nav.request" , i have to make a terminate function to make it happen which unloads the whole system,becouse this function updateds an "imsmanifest.xml" file. This xml is updated this time. This xml contains all the items that are connected to the index.hml which runs the flex app. That is why its refreshes. But i don't want my flex application to restart too.
View 2 Replies
Dec 6, 2010
I've gotten these sliders to work but can't get the output values to add up. For instance, depending on the values for slider 1, 2 and 3, I need the total to show up in a separate text box. I keep getting a NaN message in the text box.Here's the code I have so far:
//item 1
sliderOne.width = 600;
sliderOne.value = 0;[code].....
View 3 Replies
May 18, 2010
I need to save email-id in my login form through the cookies. if I use shared object I am able to save but my requirement is need to save in cookies. How can I save? I got sample code from net. Attaching that code `package com {
import flash.external.ExternalInterface;
/**
* The Cookie class provides a simple way to create or access
* cookies in the embedding HTML document of the application.
[Code].....
View 1 Replies
Sep 4, 2011
I need to be able to compare the number of whole days between two dates in ActionScript, is this possible? I'd like to test if one date is 7 days or less after today, and if so is it one day or less (if it's before today this also counts).The workaround I have in place is using the .time part of the date field:
// Get the diffence between the current date and the due date
var dateDiff:Date = new Date();
dateDiff.setTime (dueDate.time - currentDate.time);[code].....
As I say - this is only a workaround, I'd like a permanent solution to allow me to check the number of whole days between 2 dates. Is this possible?
View 1 Replies
Sep 7, 2010
Is there anyway where I can pass the Array values (not the array collection values) to the Bar charts or column charts using flex 3.5...
here is the thing i want:::
I have array values like this,,
array1 = [23, 49, 40, 239, 20, 80, 39,49,120, 24, 31,41];
and i want to show these values on the Yaxis and months on Xaxis....
I have two Qns,
1) how can I pass this array to Bar chart or column chart.
2) how do I need to show months on Xaxis. beacuse I'm asking this regarding, I have kept a filters that even if we want to see some months or a particular months or perticalar span of months... there on Xaxis it need to change the months dynamically depending on the filters..... (for ex, on Xaxis the values should be (Jan, Apr, Jun,Oct) if i select the 3 months period filter....)
I have written a logic to collect the values of those particular months into an array, but not understading how to pass this array to Bar chart,, beacuse there I don't know what Xfield and Yfield to be given....
View 1 Replies
Apr 11, 2009
I want to set them up with packages but tried before and failed.At the moment, I've made a folder,
C:/flash/mbl
In there, I have all my classes that I want to reuse. what do I do next? I'm using Flash CS3, would also be useful to know how to do the same in Flex Builder 3.
View 6 Replies