topical media & game development

talk show tell print

#template-player-sh.cfg / cfg



  #!/bin/sh
  f=@cfg-template-player-sh
  
  t="@template"
  n="@name"
  u="@url"
  i="@tag"
  c="applet.class"
  ##U="`./get-tube.sh c`"
  ##u="U"
  
  ##if [ -f tube-n.mx ]; then t=tube-n.mx; fi;
  
     ##if [ -f tag.mx ]; then t=tag.mx; fi;
     if [ -f n.mx ]; then t=n.mx; fi;
     if [ -f tube-n.mx ]; then t=tube-n.mx; fi;
     if [ -f tube-n-i.mx ]; then t=tube-n-i.mx; fi;
  
  echo creating video-tube-n-i with t
  T="text"
  cat t | \
               sed -e "s:@T:n:g" \
               | ./r-url.flt "u" \
               > video-tube-n-i.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.