S
Schraf
Hi,
I'm looking for vba examples with the library mingx
(http://www.swfkit.com/download.html) to create "Flash files" (.swf) without
Flash. There is no documentation with the dll file.. :-(
Some example with ming for PHP & C++ (http://ming.sourceforge.net/)
$m = new SWFMovie();
$m->setDimension(640, 480);
$m->add(new SWFBitmap(fopen("image.jpg", "rb")));
header('Content-type: application/x-shockwave-flash');
$m->output();
with VBA, it looks like...
Set m = CreateObject("Mingx.Movie")
m.Create
m.SetDimension 640, 480
m.Add CreateObject("Mingx.Bitmap").Create("C:\\image.jpg")
m.Save ("c:\\image.swf")
but "C:\\image.jpg" is a string, not an object !
Function Create(input As Object, [alpha As Object]) As Long
Membre de MINGXLib.Bitmap
method Create
How can I open the .jpg as an object ?? Thank's
Some examples I begin to write (in french) :
http://ead.univ-angers.fr/~schraf/tdas/mingx.pdf
I'm looking for vba examples with the library mingx
(http://www.swfkit.com/download.html) to create "Flash files" (.swf) without
Flash. There is no documentation with the dll file.. :-(
Some example with ming for PHP & C++ (http://ming.sourceforge.net/)
$m = new SWFMovie();
$m->setDimension(640, 480);
$m->add(new SWFBitmap(fopen("image.jpg", "rb")));
header('Content-type: application/x-shockwave-flash');
$m->output();
with VBA, it looks like...
Set m = CreateObject("Mingx.Movie")
m.Create
m.SetDimension 640, 480
m.Add CreateObject("Mingx.Bitmap").Create("C:\\image.jpg")
m.Save ("c:\\image.swf")
but "C:\\image.jpg" is a string, not an object !
Function Create(input As Object, [alpha As Object]) As Long
Membre de MINGXLib.Bitmap
method Create
How can I open the .jpg as an object ?? Thank's
Some examples I begin to write (in french) :
http://ead.univ-angers.fr/~schraf/tdas/mingx.pdf