PDA

View Full Version : SWF Upload Sizes?



Halting
02-09-2006, 10:43 AM
Hi,

I am giving my visitors the ability to upload flash documents. However, I need to know what would be a more sensible thing to do.

I could either:
Ask the document what the file extension is. If it is a .swf file extension then I will display a form saying Width and Height. They can enter a width and height of their own or leave it blank for a default.

OR:
Like ImageShack do, I allow people who view the document to resize it themselves out of a number of attributes. For instance, 400x600, 600x800, 800x1000.

Which method would you prefer to use?

Thanks,
Oli

Luckyrare
02-09-2006, 10:49 AM
Ever heard of a thing called getimagesize

Halting
02-09-2006, 10:50 AM
Yes but would that work on a flash document because when you view it under it's URL it fills the entire page.

Luckyrare
02-09-2006, 10:51 AM
Yes it does ;)

Halting
02-09-2006, 10:52 AM
Okay. Thanks :)

-::Mr.Dave::-
02-09-2006, 10:57 AM
My SWF flash games are genrally between 100kb-5MB

Want to hide these adverts? Register an account for free!