topical media & game development

talk show tell print

#template-player-sh-local.cfg / cfg



  #!/bin/sh
  f=$1
  
  t=@template
  e=@extension
  n=@name
  p=@place
  S=@source
  d=@text
  
  if [ -f e.mx ]; then t=e.mx; fi
  if [ -f n.mx ]; then t=n.mx; fi
  echo creating video-clips-n with t
  U="url"
  T="text"
  cat t | \
               sed -e "s:@U:S/p:g"  \
                   -e "s:@T:d:g"  \
               > video-local-n.mx;
  
  files=""
  
  C=" -include-libraries files ";
  A=" -library-path+=VIP/frameworks -source-path+=VIP/lib/as ";
  
  echo processing files f
  for x in files; do
  mk x;
  done
  ##t=`echo f | sed -e "s:-:_:g"`
  echo " C A " > f.mk
  echo mk f.mx.html flex="\"C A\""
  mk f.mx.html
  mk f.swf
  ##cp @mx-f.swf 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.