Thx for the fast response.

Yes, I am doing that with the images... works fine. I also thought about
using either an iframe or a div to control the size of the movie. It would
have been nicer to be able to use a regular object tag, as it gives you more
control over how the movie displayed.

But I guess you can't write the tag and just do a <PARAM NAME=movie
VALUE="show.php?id=xy" etc. and have the show.php output the header...

May have to go for the div/iframe solution. If anyone can think of another
way, I'd be happy to try it.

Thank you, John.

toby

----- Original Message -----
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Toby Irmer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 7:12 PM
Subject: Re: [PHP] Flash .swf outside webroot: width and height problems


> From: "Toby Irmer" <[EMAIL PROTECTED]>
>
> > I am trying to display an .swf-file that is stored outside the webroot.
> >
> > Just sending the header and doing a readfile on the swf results in the
swf
> > being displayed with the maximum available width and height.
> >
> > Does anyone know a way of displaying Flash with its correct dimensions
if
> it
> > is stored outside the webroot?
>
> Do you just have a "flash.php" file that sends the flash headers and data?
> If so, then there's probably not a way just using that method.
>
> You can embed it within a HTML page, though, maybe inside a div to control
> the size?
>
> <div style="width:50%;height:50%">
> <embed src="flash.php?id=xx">
> </div>
>
> Obviously not the correct syntax b/c I don't know it, but you get the
idea,
> I hope... This is the same method you'd control the height and width of a
> PHP generated image
>
> <img src="pic.php?id=xx" width="50" height="50">
>
> ---John Holmes...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to