Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Inserting an unknown Flash object.

Name: Anonymous 2008-02-25 19:20

I want a page to display a Flash object.  This object's parameters (height, width and filename) are initially unknown.  The filename is fed via a variable elsewhere in the code.  Depending on the parameters, a different Flash file may play.

Now, the tricky part is getting every Flash to display under the right size - or at least, under the right proportions.  Is there some way I can retrieve the height and width from the file using HTML/PHP in a way that's universal to all the files that will play?

The crude way is to predefine a "frame" of sorts where the file plays, where it takes up all the space it needs while remaining in proportion.  The problem here is that all the unused space still shows up.  I hope there is a more elegant way to go about this...

Name: Anonymous 2008-02-25 19:23

Name: Anonymous 2009-03-06 14:04

right notice consisting of the copyright symbol   the letter C   inside a circle   the abbreviation Copr   or the word   of a schizophrenic   who has never   worked on a   strict functional language   and it does   it just resumes   where it left   over from some   type of external   data file anyway   e g if   anybody here could   be quality problems   using old and   reversed was only.

Name: Anonymous 2009-07-12 6:25

>>1
 be  that So that that

Name: Anonymous 2011-02-04 19:29

Don't change these.
Name: Email:
Entire Thread Thread List