| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jul 2005
Posts: 25
|
I have a collection of fla animations and I want to run javascript batches to publish them at various different settings. I need to create AVIs and quicktime movies.
to create quicktime movies I can run this javascript file: Code:
//create filenames
var filepath = "file:///C:/FINAL ANIMATIONS/"
filenames = [filepath+"Anim1.fla",
filepath+"Anim3.fla"];
for (i=0; i<filenames.length;i++){
fl.openDocument(filenames[i]);
curr_doc = fl.getDocumentDOM();
// export as quicktime movies by loading in quicktime publish profile
fl.getDocumentDOM().importPublishProfile('file:///C:/Documents and Settings/Scott/Desktop/quicktime.xml');
//publish
curr_doc.publish();
curr_doc.close(false);
}
//fl.quit(true);
edit: i'm not being lazy I have 250 animations and I want avoid exporting for days! Last edited by flatface; 08-10-2005 at 04:32 PM.. |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
i would imagine that flash cannot export in that format(or at least i have not seen the option)
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2005
Posts: 25
|
You can export in the IDE by going File/Export/Export Movie and choosing an .avi but I think you can only publish a movie from javascript and not export it. aaargh!
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2005
Posts: 25
|
found this old thread again and just in case anyone else is looking for an answer check this workaround out http://www.learningapi.com/blog/archives/000063.html
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Mar 2007
Posts: 4
|
I don't know need it still or not. I use for converting a lot of my flash to avi or mpeg Flash to Video Butch converter. With this program I can quickly convert a few my files and I don't lost my time.
Probably it will help. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|