This is mandatory for Huskylearns ICOM courses that use learning log, especially when FM_Learning Log module is installed into FiLMS. Below shows the steps required to configure ICOM course to be compatible with Learning Log.
if(Stage.height > _root.MovieH) TopMMC._y = -((H - _root.MovieH) / 2);else TopMMC._y = 0; if(Stage.height > _root.MovieH) TopRMC._y = -((H - _root.MovieH) / 2); else TopRMC._y = 0; if(Stage.height > _root.MovieH) TopLMC1._y = -((H - _root.MovieH) / 2); else TopLMC1._y = 0;
These code must be added to the javascript inside your course index.html page (otherwise the learning log's notes won't be functioning properly):
function newSCOnotes(lessonIdx){ var my_parent = window.parent; if ("function" === typeof my_parent.parent.autoChangeNotes) { my_parent.parent.autoChangeNotes(lessonIdx); } }
Line 328 - inside case "LMSFinish"
if ("function" === typeof window.parent.parent.saveNotes) { window.parent.parent.saveNotes(); }
Inside SWFObject configuration - just after the function addParam()
fo.addParam("wmode" ,"opaque");