progress ticks flash - lectora comms

Hello, i am trying to add functionality to my SCORM course which will allow the use of conditionally visible progress ticks.I am setting a variable at the end of each module i complete to say "module1Completed=truemodule2Complete=true" and so on. I then need to read this variable into a piece of flash on the homepage (where the progress ticks will be appearing) currently i am doing this by calling a piece of javascript (stored in the lectora published page)from the flash movie. this javascript sets the variable modsComplete to the value of the publisher variable i am setting at the end of each module. Some actionscript then splits the string up and looks for the various modules completion status and will then display the progress ticks accordingly. the problem is i cant get the data to pass from the lectora page to my flash!does anyone have a solution problem? currently i am using:

Code:

function setMods(){document.swfanim28938.SetVariable('modsComplete', Varcmi_suspend_data.getValue()); alert("this is home and the flash var has been set"); }

i am calling this method from the flash it will call it ok, but it doesnt actualyl do anything apart from give me the alert box at the moment. i need to set modsComplete to the value of cmi_suspend_data (which is the lectora variable).Please help!thanks,Mike

Discussions have been disabled for this post