View Full Version : Can I have multiple height and widths?
Twister
07-09-2003, 10:51 PM
What I'm doing is allowing people to upload swf files and then they get displayed on a page. However some files are 100x300 others could be 600x200. Now with an image if you leave out the height and width it will show up at the correct size. However with flash if i don't put in a hight and width then the file doesn't show. Can i get around that? I won't know the heights and widths but i still want to show them. I can type in 300x300 and force them all but then they look bad.
Any help
Caimin
07-14-2003, 01:28 PM
Presumably, you're talking about specifying the height and width in HTML code here?
You have to specify height and width in HTML or it won't display - as you've found out. However, you could get around it by using a placeholder swf in your HTML and then loading the user submitted SWF's into that - via loadMovie - for which you don't need to specify height and width.
Twister
07-14-2003, 01:54 PM
Thanks for the idea. I think Macromedia should just update their plugin. :D
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.