topical media & game development

talk show tell print

#video-im--.sh / sh



  #!/bin/sh
  f=video-im--
  
  t=template-player-mx-im.cfg
  e=.
  n=-
  p=-
  S=../assets/im
  d=.
  
  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-clips-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 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.