Re: Ming0.3a | Outputting swf to Header Problem.

SoftwareDave <[email protected]> Wed, 3 Dec 2003 15:28:07 -0800 (PST)
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
I think it needs the compression level.

$myMovie->save("font.swf",9); //Compression Level 0...9
header('Content-type: application/x-shockwave-flash');
$myMovie->output(9);  //Compression Level 0...9


--- "Barry Cordingley" <[email protected]> wrote:
Thanks to Frank M. Kromann for last Fix.

Thanks a lot that new .dll. 
Your compilation of Ming0.3a works great for the fonts and it has
completely cleared up that problem.

I am now experiencing problems outputting the swf through the header now
though. 

I can no longer output the swf through the header only as before in
Ming0.2a 

Does anyone know how to output to header for Ming0.3a  and if they can
send a very same sample of working code as example.

Example.

$myMovie->save("font.swf");
header('Content-type: application/x-shockwave-flash');
$myMovie->output();

/*----------------------------------------------------------------------
----------------------------------*/

The Normal Save movie and call through the object embedded within a html
format does work thought I prefer calling through the headers.

Example 

$myMovie->save("font.swf");
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8 ECT......


/*----------------------------------------------------------------------
----------------------------------*/

My system for this problem is 

1. W2k,   apache 2.0.48 with PHP Version 4.3.4 Ming 0.3a


Thanking all inadvance.


Barry Cordingley


_______________________________________________
ming-fun mailing list
[email protected]
http://www.opaque.net/mailman/listinfo/ming-fun