Launching files, from flash, from CD output

Hey!


I wondered if anyone has every come across the following issue:


I have created a course in Lectora x6 which has a Adobe Flash screen added.


This flash screen which I created launched has a pdf (which is exported into the extern folder after publishing). This pdf is launched by the following actionscript (pretty standard code):


getURL('mydoc.pdf','_blank');


When publishing for SCORM everything works great. No issues, it opens the pdf in a new window.


However.......



When I publish for CD, click the link it attempts to open the pdf, however the url it points to is:


http://mydoc.pdf/


It's not finding the directory it should be pointing to.


Does anyone know of a fix for this or the correct code?



Any help is greatly appreciated.


Al

Discussions have been disabled for this post