专家
公告
财富商城
电子网
旗下网站
首页
问题库
专栏
标签库
话题
专家
NEW
门户
发布
提问题
发文章
获取flash
2019-04-15 17:11
发布
生成海报
站内文章
/
PIC单片机
11435
0
1158
用页面显示flash的信息,页面的控件是:
height="304">
如果在后台操作直接输出是:
myPicture pic = new myPicture();
pic.enterId = int.Parse(ViewState["mid"].ToString());
pic.GetModel();
//标题下面的自定义图片
if (!string.IsNullOrEmpty(pic.myImgPath)) //自定义图片
{
string TmyImg = pic.myImgPath.ToString().Replace("//", "/");
string hz = TmyImg.Substring(TmyImg.Length - 3, 3).ToLower();
string result = "";
int height = 304;
int width = 1004;
if (hz.Equals("swf"))
{
result = "
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0/" width=/"" + width + "/" height=/"" + height + "/">";
result = result + "
";
result = result + "
";
result = result + "
http://www.macromedia.com/go/getflashplayer/"' type=/"application/x-shockwave-flash/" width=/"" + width + "/" height=/"" + height + "/">
";
//result = result + "
http://www.macromedia.com/go/getflashplayer/"' type=/"application/x-shockwave-flash/">
";
}
else
{
result = "
";
//result = "
";
}
myImgPath.InnerHtml = result;
}
else
{ //中部程序修改
string defauresult = "";// "
";
defauresult = "
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0/" width=/"1004/" height=/"304/">";
defauresult = defauresult + "
";
defauresult = defauresult + "
";
defauresult = defauresult + "
http://www.macromedia.com/go/getflashplayer/"' type=/"application/x-shockwave-flash/" width=/"1004/" height=/"304/">
";
myImgPath.InnerHtml = defauresult;
}
Ta的文章
更多
>>
我的嵌入式Linux操作系统学习规划(转)
0 个评论
获取flash
0 个评论
热门文章
×
关闭
举报内容
检举类型
检举内容
检举用户
检举原因
广告推广
恶意灌水
回答内容与提问无关
抄袭答案
其他
检举说明(必填)
提交
关闭
×
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮