Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-10-2005, 03:02 PM   #1
flatface
Registered User
 
Join Date: Jul 2005
Posts: 25
Default can you batch export flas to AVI?

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);
but is there a way of exporting as AVIs?

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 03:32 PM.
flatface is offline   Reply With Quote
Old 08-10-2005, 03:43 PM   #2
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,858
Default

i would imagine that flash cannot export in that format(or at least i have not seen the option)
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 08-10-2005, 05:23 PM   #3
flatface
Registered User
 
Join Date: Jul 2005
Posts: 25
Default

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!
flatface is offline   Reply With Quote
Old 03-28-2007, 12:58 PM   #4
flatface
Registered User
 
Join Date: Jul 2005
Posts: 25
Default

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
flatface is offline   Reply With Quote
Old 04-10-2007, 08:00 AM   #5
Queer
Registered User
 
Join Date: Mar 2007
Posts: 4
Default

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.
Queer is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.