}
//----------------------------------------------------------------------------
public void generateFile( String filename, LinkedList draw_list )
{
DrawObject draw_object;
Frame frame;
Movie movie = new Movie();
// movie.setBackcolor(new Color(255,255,255)); // is default
movie.setWidth( size_.width );
movie.setHeight( size_.height );
for( int count = 0; count < draw_list.size(); count++ )
{
draw_object = (DrawObject) draw_list.get(count);
if ( draw_object != null )
{
draw_object.drawObject(movie, count + 1, speed_);
}
}
frame = movie.appendFrame();
frame.stop();