#!/bin/sh file=$1 ##@ process extra=" " files="$extra $file"; for f in $files; do for x in mx sh cfg; do if [ -f $f.$x ]; then mk $f.$x.html; fi done; done ##@ libraries (swc) LIBS="" files="$LIBS object-swf.cfg" for x in $files; do mk $x.html; done ##@ compile t=`echo $file | sed -e "s:-:_:g"` echo creating $t.mxml mk $file.swf #mxmlc -include-libraries $LIBS -- $t.mxml if [ -f $t.swf ]; then mv $t.swf @mx-$file.swf; fi