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