topical media & game development

talk show tell print

animation-ch12-Ball.sh / sh



  #!/bin/sh
  file=animation-ch12-Ball
  

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
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.