#!/bin/sh f=$1 ##@ process for x in mx php cfg js; do if [ -f $f.$x ]; then mk $f.$x.html; fi done; files="object-swf.cfg" for x in $files; do mk $x.html; done ##@ compile SOURCE="$VIP/lib/as" LC="$SOURCE/corelib.swc" LIBRARIES="-include-libraries " ## multiple libraries t=`echo $f | sed -e "s:-:_:g"` echo creating $t.mxml OPTIONS="-source-path+=$SOURCE " echo mxmlc $LIBRARIES $OPTIONS -- $t.mxml mxmlc $LIBRARIES $OPIONS -- $t.mxml mv $t.swf @mx-$f.swf