#!/bin/sh f=$1 files="$f" echo processing $files for x in $files; do mk $x.ax.html done t=`echo $f | sed -e "s:-:_:g"` echo creating $t.as OPTS=" -library-path+=$VIP/frameworks -source-path+=$VIP/lib/as " echo mxmlc $OPTS -- $t.as mxmlc $OPTS -- $t.as mv $t.swf $f.swf