Application Architecture : Miscellaneous
dynamically load graphic to flash movie....
Submitted By: Chen Hsien ChingDate: 12/26/01 11:56
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 errorĦI
Please directly upload .swf fileĦI";
}
?>
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:
| Comments: | ||
No Messages FoundYou can post questions/corrections/feedback here
| ||
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||

