[Extendflash] JSFL changed actionscript but changes are not saved.
khair at nc.rr.com
khair at nc.rr.com
Fri Jun 2 09:53:31 BST 2006
Anyone ever have proplems saving changes after ONLY changing
ActionScript with JSFL.
I've written some JSFL to search and replace actionscript in nested
symbols on stage.
It changes the ActionScript and exports the changed results perfectly,
then I use...
//------------
if(fl.getDocumentDOM().save(false)==false){
fl.trace("There was a problem saving "+fl.getDocumentDOM().path);
}
//------------
...to make sure it saved the document. The "save" function never
returned false.
I've also traced the ".actionScript" property before the save function
is to make sure the changes were made before saving the document.
(If I use JSFL to change something like a TextField's color it will save
fine, but the strange thing is if I only make changes to a symbol's
".actionScript" property the document will not include those changes if
you attempt to save.)
--Keith H--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khair at nc.rr.com.vcf
Type: text/x-vcard
Size: 93 bytes
Desc: Card for <khair at nc.rr.com>
Url : http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20060602/a63c575b/khairnc.rr.com.vcf
More information about the Extendflash
mailing list