I am biuliding a project that has gives the user the option of uploading 3 banners.
I am using sql server to store the image's file name and an asp:image control and bind the image url from data retrieved from sql server to display the image.
I now need a way to allow the user to upload swf files instead of just images.
Is there a control that allows me to display both image and swf files?
Taonias
Member
351 Points
276 Posts
Display Images and swf files
Nov 05, 2010 12:36 PM|LINK
Hello all
I am biuliding a project that has gives the user the option of uploading 3 banners.
I am using sql server to store the image's file name and an asp:image control and bind the image url from data retrieved from sql server to display the image.
I now need a way to allow the user to upload swf files instead of just images.
Is there a control that allows me to display both image and swf files?
If not how can I do that?
DotNet Duke
Participant
1731 Points
379 Posts
Re: Display Images and swf files
Nov 05, 2010 04:03 PM|LINK
Try using this one,
http://www.flash-control.net/faq.htm
Please mark as Answered if it helps.
Taonias
Member
351 Points
276 Posts
Re: Display Images and swf files
Nov 06, 2010 11:19 AM|LINK
DotNet Duke thanks for replying...
this is a very nice control but I need a control that can display both images and swf files!!!
Zizhuoye Che...
All-Star
21915 Points
1915 Posts
Re: Display Images and swf files
Nov 10, 2010 01:49 AM|LINK
Hi,
I'm afraid that there hasn't a control can display both image and swf. Because imgae and swf are quite different type render in html.
To display flash in html, you can use http://www.w3schools.com/flash/flash_inhtml.asp.
I think alternative way, when load image or flash via database, first check the type of it, according to type, load display control dynamicly.
Hope this can help you.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework