Re: ming simply doesnt work...

Raffaele Sena <[email protected]> Mon, 29 Dec 2003 17:08:49 -0800
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
What you are getting is actually the proof that Ming on your server=20
works very fine!

The "junk" that you see is the Flash movie that you just generated (FWS=20
is the "magic" for Flash SWF files) and guess what, the bigger what you=20
are trying to generate is and the longer the "junk" you see.

What you are missing is the information that what you are trying to=20
send to the client is a SWF file.

Make sure you add the following line to your php script:

   header('Content-type: application/x-shockwave-flash');

BEFORE you output the movie.

-- Raffaele


On Monday, December 29, 2003, at 05:07 PM, <[email protected]> wrote:

> [email protected] wrote :
>
>> hi everyone!
>>
>> as subject says, ming doesnt work on my server. i have tried=20
>> compiling it a
>> loooot of times and on few web server (and linux distros, too) -=20
>> nothing
>> helped.
>>
>> last time i have tried to make it work was few days ago. i was=20
>> recompiling php
>> 4.3.4 under gentoo linux. compilation went just fine, ming compiled=20
>> with few
>> warnings...
>> when i execute this script (can be found under swftext function=20
>> examples):
>>
>> !!
>>
>> all i get is
>>
>> FWS=05}=90=D2=F0=08=CA =01C=02=FF=FF=FF=0F =01=06_serif=02=7F=08?=02=A8=
=16=D3=C0=8C =08=8F=01=FF=FF=FF =0F=80=BB=C0]=1FPHP generates=20
>> Flash with
>> Ming!!=86=06=06=01=02@
>>
>> (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=20
>> there are some
>> functions that should enable action sounds (eg. button clicks hovers=20
>> etc. with
>> custom sound) -- is that true?
>>
>> pls help!!
>>
>>
>>
>>
>> _______________________________________________
>> ming-fun mailing list
>> [email protected]
>> 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=20
> ming.h (or whaterver it needs to work fine)
>
>
>
>
> _______________________________________________
> ming-fun mailing list
> [email protected]
> http://www.opaque.net/mailman/listinfo/ming-fun