Get Variable - Flash Comand

Ya, the problem is that Lectora doesn't know when your animation is actually done. Sorry but the on Done Playing event is a little sketchy. I would just use flash to set the variable directly on the last frame. So try this code on the last frame of your movie:

Code:

import flash.external.*;ExternalInterface.call("Varactivity_complete.set(" + actcompletion + ");");

That should have flash set the lectora variable activity_complete to the contents of the flash variable actcompletion. Hope that helps.Edited By: Hemingway on 2008-5-7 17:33:20

Discussions have been disabled for this post