It depends on your requirements.... Currently, the user doesn't have to define am <img /> element, right? All they do do is upload the image, and then the path to the image is embedded in the src attribute of the <img /> element through server side code.
You can do a similar thing with Flash movies. Let users upload the file, and embed it in an <object> element with some server side code.
However, Flash movies tend to be more complex than images. You may need your users to enter a hight and a width and other parameters that might be fed to the Flash movie. While that is pretty easy to write out using a server side language, your users may not be knowledgeable enough to enter the correct values. However, if they were able to define an <object> element, they certainly would be able to fill in the right details for a custom solution.
For some ideas on how others have implemented this, check out the FckEditor demo at
http://www.fckeditor.net/demo. Then click the Flash button to insert a Flash movie. You can upload a Flash movie and choose a height and a width. The <object> element is then added to the page.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.>