Lectora/JavaScript/Variables problem
May 28, 2008 12:00 AM
Hi all,recently I've been working with Lectora 2008, Flash and JavaScript. It's wonderful how things can work.Except for one thing, and maybe one of you can help me out with this.I created a SCORM course with a couple of chapters. In the root of the AU I created an Action which defines an url for a Flash-file which is used on every page of the course.On every page is a javascript function which loads the url with different variables, using the getValue().When the course loads for the first time it should go to either the first page or the last visited page, but at this moment the course does not load any page at all, so all I see are the images that are in the root. The flash file will not load, except if I manually navigate to a page.It used to work when I hardcoded the url in the LoadFlash function which is invoked on every page. But to keep things manageable I wanted the url loaded once and then used througout the course. Unfortunately I didn't get it to work yet...To load the flash movie on every page I use the following code:
Discussions have been disabled for this post