Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
ChrisFlynn #1
SCORM Issue, fscommand LMSGetValue call from Flash
Hi all
I'm using fscommands to communicate with the SCORM 1.2 template published from
Flash. I need to use fscommand because, even though I'm working in Flash 8, I'm
working in an older file that was created in Flash 6. And everything
breaks when I try to publish it to version 8.
So I can't use the ExternalInterface method, I have to use fscommands.
Now my problem is that I'm able to write to the LMS using the following:
fscommand("LMSSetValue", 'cmi.suspend_data,'+toLMS); //<--toLMS is a string of
text i want saved
fscommand("LMSCommit", "");
BUT I'm not able to retrieve that string later. I try to use:
fscommand("LMSGetValue", "cmi.suspend_data,returnVal"); //<--returnVal is a
string declared earlier
Ive also tried a number of variations like:
fscommand("LMSGetValue", 'cmi.suspend_data,'+returnVal);
var fromLMS:String = String(fscommand("LMSGetValue",
"cmi.suspend_data,returnVal"));
textbox.text = String(fscommand("LMSGetValue", "cmi.suspend_data,returnVal"));
fscommand('LMSGetValue', 'cmi.suspend_data,returnVal');
Nothing has returned anything.
I do know for certain that my main_DoFSCommand in my HTML is called, it then
calls the SCOGetValue, and that successfully calls the LMSGetValue function.
And at each call, the variables being passed are all as expected.
So this is making me wonder if I'm actually calling it correctly from Flash in
the first place. And with anything pertaining to SCORM and Flash, I haven't
found much out there pertaining to this, so hopefully someone here can help.
Thank you in advanced
Chris
ChrisFlynn Guest
-
FLASH DATA in SCORM
Hi, I have a problem to capture a value from flash. I am using scorm tracking 1.2 and i publish the flash with scorm tracking 1.2 into HTML. The... -
FSCommand doesn't call vbscript in Vista IE7
Hey All, I have web application with small flash movies which call to FSCommand though VBScript. In IE6/7 in XP everything works OK about 2 years.... -
SCORM compliant Flash
HI all I asked this in the General Discussion Thread too, so I apologize for repeating myself here. I've been trying to research SCORM... -
Flash Forms - fscommand?
Any way to get fscommand to work from within CFMX7 flash forms? Had a play and it doesn't seem to work. Noticed that there is no ID attribute in... -
fsCommand and Flash Projector
Help! I am using fsCommand ("fullscreen", "true") to allow a presentation to capture the users entire window, this command is placed in a...



Reply With Quote

