topical media & game development

talk show tell print

#display-collide.sh / sh



  #!/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
  


(C) Æliens 20/2/2008

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.