topical media & game development

talk show tell print

graph-philosopher.sh



  #!/bin/sh
  file=$1
  

process


  extra="graph-philospher-item.mx graph-philosopher-data.xml "
  files="extra file";
  for f in files; do
  for x in ax mx php cfg js; do
  if [ -f f.x ]; then mk f.x.html; fi
  done; done
  files="object-swf.cfg"
  for x in files; do mk x.html; done
  

compile


  SOURCE="VIP/lib/as"
  LC="SOURCE/corelib.swc"
  SG="SOURCE/SpringGraph.swc"
  LIBRARIES="-include-libraries LC SG "  ## multiple libraries
  t=`echo file | 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.