Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
timeout or pause in jstl?

timeout or pause in jstl?

2004-02-16       - By Bram Meijboom

 Back
Hi,



I 'm currently exploring how to use jsfl and have a question about it,

Does anyone know how to "pause " the script?

I am using it to automaticly compile and test the movies and it would be
nice to capture the output panel (where all trace messages are printed) and
dump it in a file. The thing is that when using doc.testMovie(); the "script
thread " continues running so flash gets killed before the movie had any
chance to send some debug messages. I put in a "for (i=0;i <100000;i++) loop
to "wait " a bit but it is not workable(I could capture the output from the
test).



Bit of jsfl code



var doc = fl.openDocument( "file:///C:/test.fla ");

fl.outputPanel.trace( "Publishing test.swf ");

doc.exportSWF( "file:///C:/test.swf ", true);

doc.testMovie();

//timeout here

fl.closeDocument(doc, false);

fl.outputPanel.save( "file:///C:/log.txt ");

fl.quit(false);


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104364
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)