I have a scorm package all ziped up and loaded into the LMS (blackboard).

It opens and runs fine. Its not conecting to the lms though and sending completed when finished.

Heres a link to my full source code.
http://www.dev.wisc-online.com/proto...tsv2source.zip

heres a link to just the zip package.
http://www.dev.wisc-online.com/proto...anetsv2sco.zip

Any help on this subject would be great. never had a project before that had to be scorm compliant. Tutorials source code anything please.

code:

//+++++++++++++++++++++++++++++++++ Pipeworks code +++++++++++++++++++++++++++++
import pipwerks.SCORM;
var lessonStatus:String;
var lmsConnected:Boolean;
var success:Boolean;
var scorm:SCORM = new SCORM();
lmsConnected = scorm.connect();
if (lmsConnected)
{
lessonStatus = scorm.get("cmi.core.lesson_status");
if (lessonStatus == "completed")
{//course already been completed
scorm.disconnect();
}
else
{//must tell lms course has not been completed yet.
success = scorm.set("cmi.core.lesson_status","incomplete");
}



}
else
{
status_txt.text = "lms not connected";
trace("could not connect to lms.");
}//++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++

function resetPlanets():void
{
if (visitedMercury && visitedVenus && visitedEarth && visitedMars)
{

success = scorm.set("cmi.core.lesson_status","completed"); scorm.disconnect();
lmsConnected = false;


gotoAndPlay("end");
}
else
{
planetName.visible = false;
planetName.text = "";
gotoAndPlay("planetFadeIn");
completedMercury.visible = visitedMercury;
completedVenus.visible = visitedVenus;
completedEarth.visible = visitedEarth;
completedMars.visible = visitedMars;
}
}