Silverlight 4.0 在Silverlinght中播放.SWF文件
我正在尝试在silverlight页面中播放.swf。我正在使用telerik控件,如下所示Silverlight 4.0 在Silverlinght中播放.SWF文件,silverlight-4.0,Silverlight 4.0,我正在尝试在silverlight页面中播放.swf。我正在使用telerik控件,如下所示 这在internet explorer中运行良好,但在mozilla中,它提供了下载文件而不是播放swf的选项。请详细说明您的场景。我尝试了以下方法: <UserControl x:Class="HtmlPlaceholderAndSWF.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentat
这在internet explorer中运行良好,但在mozilla中,它提供了下载文件而不是播放swf的选项。请详细说明您的场景。我尝试了以下方法:
<UserControl x:Class="HtmlPlaceholderAndSWF.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadHtmlPlaceholder SourceUrl="http://www.bassfiles.net/parachute.swf" />
</Grid>
</UserControl>
…它在IE和FF中都能正常工作
也许Firefox中应该有一些设置来阻止你在浏览器中玩SWF
我使用相同的代码,但在应用程序中,我不使用任何swf文件内容类型