barry
03-31-2006, 01:17 PM
Hi all,
i'm using exportSWF to create 100 different swfs from a single fla, exporting different movieClips from the library.
i'm hoping to use the same method to produce jpegs instead of swfs but as far as i can see it is not possble to produce these from a single fla.
Is the only solution to select jpeg in my publish settings and then in my jsfl get the file to resave itself on every loop, resulting in me having 100 different fla's. This just seems like a messy way to do it.
var i = 0;
while( i < 100 )
{
var doc = getDocumentDOM();
doc.publish();
var fileName = "file:///c/My Documents/test/myFile_"+i;
doc.saveDocument(doc,fileName);
i++;
}
cheers,
barry
i'm using exportSWF to create 100 different swfs from a single fla, exporting different movieClips from the library.
i'm hoping to use the same method to produce jpegs instead of swfs but as far as i can see it is not possble to produce these from a single fla.
Is the only solution to select jpeg in my publish settings and then in my jsfl get the file to resave itself on every loop, resulting in me having 100 different fla's. This just seems like a messy way to do it.
var i = 0;
while( i < 100 )
{
var doc = getDocumentDOM();
doc.publish();
var fileName = "file:///c/My Documents/test/myFile_"+i;
doc.saveDocument(doc,fileName);
i++;
}
cheers,
barry