logo       

Re: ming simply doesnt work...: msg#00041

web.ming.general

Subject: Re: ming simply doesnt work...

Hi,

Ming is working!

Looks like you didnt output the header.

header('Content-type: application/x-shockwave-flash');
$m->output();

Usually I comment the header out so I can see PHP script errors, and then when
I see SWF... I put the header back in.

Also the _serif font can only be used by the browser so you will get that
message in the shell.

If you want to run from the shell then you need to output to a file and open
the file in your browser.

m->save("test.swf");

Dave...

--- <zextra@xxxxxxxxxx> wrote:
Zextra@xxxxxxxxxx wrote :

> hi everyone!
>
> as subject says, ming doesnt work on my server. i have tried compiling it a
> loooot of times and on few web server (and linux distros, too) - nothing
> helped.
>
> last time i have tried to make it work was few days ago. i was recompiling php
> 4.3.4 under gentoo linux. compilation went just fine, ming compiled with few
> warnings...
> when i execute this script (can be found under swftext function examples):
>
> !!
>
> all i get is
>
> FWS} C _serif?  ]PHP generates Flash with
> Ming!!@
>
> (i noticed that size of this junk depends of script itself)
> when i execute "php " from my shell, i get following
> error:
>
> Fatal error: Cannot instantiate non-existent class: swffont in
> /....../index.php on line 2
>
> i have tried getting ming through CVS, but compilation fails.
> any clues?!
>
> btw, i was messing with cvs ming, and somewhere i have seen that there are
> some
> functions that should enable action sounds (eg. button clicks hovers etc. with
> custom sound) -- is that true?
>
> pls help!!
>
>
>
>
> _______________________________________________
> ming-fun mailing list
> ming-fun@xxxxxxxxxx
> http://www.opaque.net/mailman/listinfo/ming-fun

ah... i've forgot to say... i am using gcc 3.3.2, apache 1.3.29
i somebody think it could work, send me compiled 0.2a ming binary and ming.h
(or whaterver it needs to work fine)




_______________________________________________
ming-fun mailing list
ming-fun@xxxxxxxxxx
http://www.opaque.net/mailman/listinfo/ming-fun


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise