[FLASH 8] Bookmarking external swf files

Hi all

OK so I’m working on a file that uses xml (obviously) to load swf files externally into a “Player” swf.

The client has asked to have a bookmark function that will allow the user to “save” their progress in the module and then resume from a later date. I have tried to search but everything seems to point to saving states on a frame which isn’t going to work.

I am working off the code (first mistake) that somebody else has scripted and the resume function state does not work either.

Here’s the code:

function writeNavPages() {    this.mcNavPages.myText.text = "Page "+_root.selectedPage+" | "+_root.numberOfPages;
    totalWidth = this.mcNavPages.pagesBar.navBackground._width;
    singleWidth = totalWidth/numberOfPages;
    this.mcNavPages.pagesBar.myNav._width = singleWidth*selectedPage;
    //tracking 
    //se il corso non è completato 
    if (!_root.courseCompleted) {
        //save pages and bookmark if not course completed
        if (_root.selectedPage == _root.numberOfPages) {
            _root.visitedArray[(myLessonNumber-1)] = 1;
            //save pages visited   
            saveVisited();
        }
        //save the bookmark           
        saveBookmark();
    }
}
//carica i dati delle pagine visitate e del bookmark
function loadVisited() {
    //dice alla pagina html di impostare la stringa visitati sulla root
    if (_root.testAllos) {
        _root.visitedString = "1,1,0,0,0,0,0";
        _root.book = "S01-L02-P01";
    } else {
        _root.visitedString = null;
        _root.book = null;
        //leggo i valori delle pagine visitate e segnalibro
        fscommand("LMSGetValue", "cmi.suspend_data,visitedString");
        fscommand("LMSGetValue", "cmi.core.lesson_location,book");
    }
}

Is this even possible? The client is adamant that it can be done but I’m just not sure how

Thanks.