flash不像其它.net的控件那样可以用“~路径”在生成网页时自己产生正确的相对路径,那在用户控件里面有什么好方法来解决相对路径的问题?我现在是用
<PARAM NAME="Src" VALUE="<%=Application["SystemVirtualDirectory"].ToString()%>/images/2008index/sg.swf">
这种方法实现的,不知各位还有没有其它高招?
<PARAM NAME="Src" VALUE="<%=Application["SystemVirtualDirectory"].ToString()%>/images/2008index/sg.swf">
这种方法实现的,不知各位还有没有其它高招?
解决方案 »
- 不允许使用邮箱名称。 服务器响应为: this mail is blocked by kbas system,blockid=bjapp13.tom.com.1
- 做个网站小样练练手,谁想到网站空间不支持3.5
- .net服务器控件的id,生成HTML代码时,在所有浏览器中是不是都是一样的
- 为什么我查的资料只有禁止从外部提交数据
- 菜鸟问参数传送的问题
- 谁有.NET的群聊呀。QQ的
- Datagrid分页的刷新问题
- 急,请教,我用了一个html_edit的控件可以提交html格式的内容,但是提交内容为空。争取今天结贴
- asp.net如何在<script></script>(脚本语言)中实现控件的可见不可见
- 用vb.net改写?
- button enable是FALSE 经过5秒后使其enable为TRUE
- char sting 的格式转换的问题,老是提示重载方法无效
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
height="42" style="width: 940px"><param name="movie" value="../QW.swf" /><param name="quality" value="High" />
</object>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<object>
<param VALUE="<%= this.ResolveUrl("~/aaaa/bbbb.swf") %>" >
</object>
</form>
</body>
</html>