I’m making a PHP script that displays flash ads on a page, one after another. A script selects some of them from my mySQL database and I have the name of the SWF file stored there so I just output that name in the param value="" and the movie is shown.
Very simple.
However the sizes gets all screwed up. I tried just removing width and length from the <object> hoping they would retain their default size, but no such luck.
I guess the only alternative is to manually add the width and length of the movie along with the filename - in the mySQL database, and output it in the same way.
Unless any of you have any brilliant suggestions? (-: