public HashMap<String,String> generateSwfByImages(List<String> images,String outputfile,int fps){
  List<String> argvList=Arrays.asList(new String[]{getPathToSwfTools() + "png2swf" + execExt,"-s","insertstop","-o",outputfile,"-r",Integer.toString(fps),"-z"});
  argvList.addAll(images);
  return ProcessHelper.executeScript("generateSwfByImages",argvList.toArray(new String[0]));
}

public HashMap < String , String > generateSwfByImages ( List < String > images , String outputfile , int fps ) { List < String > argvList = Arrays . asList ( new String [ ] { getPathToSwfTools ( ) + "png2swf" + execExt , "-s" , "insertstop" , "-o" , outputfile , "-r" , Integer . toString ( fps ) , "-z" } ) ; argvList . addAll ( images ) ; return ProcessHelper . executeScript ( "generateSwfByImages" , argvList . toArray ( new String [ 0 ] ) ) ; }
generates an swf from the list of files .
