This should not be too difficult. The main difference between displaying a .jpg and a .swf is the html code. The swf needs a couple of object tags and param tags. But these could be generated by cf ( <cfif Right(FileName,3) EQ "swf"> html for swf here </cfif> The only trick may be that you have to prompt the user for the dimensions of the swf. The object tag in the html references the width and height. You can view source on any web site with an swf to see these tags.
here is my question i hope someone can help. I am currently working with a company that developed over 200 cold fusion sites all tied together. the users can pretty much create a website using the cf app. anyways, they can create a logo but the problem is that it is only able to be uploaded in .jpg or .gif file format. now all our customers want flash. our cold fusion developers say that it is too difficult for the customer to upload a flash file and display that as the header on their template. so basically we have a form field we want the customer to upload their graphic too. when the template is designed we want to be able to display a .swf file along with static graphics. any help would be greatly appreciated. thank you.
Don't see what you're looking for? Try a search.
|