You should download the JSFL documentation file.

fl8_extending.pdf

Not sure what the URL is but search Adobe's site and you'll find it like
I did.

Here's a taste of the functions that handle it.  
Check my blog for the entire script where I am creating templates.
http://www.stevensacks.net/


var doc = fl.getDocumentDOM();
function saveFile(s) {
        var fPath = getRelativePath() + s + ".fla";
        fl.saveDocument(doc, fPath);
}
function getRelativePath() {
        var pathArr = doc.path.split("\\");
        pathArr.length--;
        return("file:///" + pathArr.join("/") + "/");
}
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to