#native_company# #native_desc#
#native_cta#

dynamically load graphic to flash movie….

By Chen Hsien Ching
on December 26, 2001

You can grudgingly use jpeg2swf program
to dynamically convert jpeg to swf .

download it from :
http://wahlers.de/webcam.html

executing jpeg2swf in php:

<?php

passthru("./jpeg2swf -v /test/foo.jpeg /test/anofoo.swf",$stat);

//$stat is unix exit status,zero for success
if($stat) { 
 echo "jpeg2swf execution errorI
Please directly upload .swf fileI"; } ?>

Then using “loadmovie” actionscript to

load converted file.

Note:command line style is only for *nix,
jpeg2swf for win is graphical app,it’s
API only called by ASP 🙁

As for sound,i haven’t find solution,unless

you use swf generator,but this require more

prerequisite knowledge:

http://openswf.org/links.html