VBA + MingX to create Flash animation

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
 
W

Word Heretic

G'day "Schraf" <[email protected]>,

You add it as a picture in Word.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Schraf reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top