Tuesday, January 29, 2013

How to play swf file in silverlight?

How to play swf file in silverlight?

i am tring to play a .swf in silverlight5 page.i am using the ListBox control or Image Control Or Any Idea To Play swf File in Silvarlight

<Image Grid.Row="0" Name="bottom_video" Height="80" Source="{Binding VodeoUrl,Mode=OneWay}" Margin="0,20,0,0" />  

Answers & Comments...

Answer: 1

This is impossible. Silverlight does not play swf files. If it is just a video file without any interaction, you might be able to convert the video to something that Silverlight can play. Here is some information about the supported formats:
http://msdn.microsoft.com/en-us/library/cc189080%28v=vs.95%29.aspx

by : Henrik Söderlundhttp://stackoverflow.com/users/250605

Answer: 2

You might be able use the the Flash ActiveX control that is automatically installed with the flash player itself on every windows machine but if it works it'd still comes with a lot of limitations as stated here another problem will be the "Airspace" problem.

Another way is to convert the SWF to XAML using this. But I found quite a lot of swf files that couldn't be converted. Especially if there is a lot of ActionScript or dynamic loading of content involved.

by : bitbonkhttp://stackoverflow.com/users/4227




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog