Hardcoded Path in Flash Movie -> Scorm
January 14, 2010 12:00 AM
Sorry - I've been slacking in my form duites in answering flash questions :)
Probably the easiest way to do this is to let Lectora handle switching the page. So, create a new group and add an action to that group to "Action: Go To" and "Target: yourPage"
Now you will need the html name of your group. If you haven't done this already, go to File --> Preferences, and check "Show HTML-published object names in object properties"
Now go back and click on your group and look at the properties. It should say somethign like "HTML name: og38" so you know that "og38" is your group name (of course yours will be different).
Finally in flash. I'm not sure what version of actionscript you are using but this will work with both versions:
At the top of the actionscript layer put:
import flash.external.*;
Then inside of your button put:
ExternalInterface.call("runGroup_og38");
Remember to replace the "og38" with your groups HTML name.
Hope that helps...
Discussions have been disabled for this post