English 中文(简体)
闪电参数正在预先排在URL的控制器上,无法找到能够发挥作用的档案。
原标题:Flash parameters are prepending the controller on the URL and cannot find files to play
  • 时间:2010-11-21 02:53:17
  •  标签:
  • flash

我有一个带有电影参数的嵌入式闪光物体,将陶尔用作参数。 当《欧洲公路货运公约》在客户中解决时,使用完全友好的圆顶,与.的连接则不正确。

Here is the HTML:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
 codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 width="100" height="30" id="MyId" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Content/MyApp.swf?parm= /sounddir/mysound.mp3 " />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="/Content/MyApp.swf?parm= /sounddir/mysound.mp3 " quality="high" bgcolor="#ffffff" width="100"
height="30" name="MyApp" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

What happens is the url (for example) http://www.domain.com/MyContoller/MyAction?someid=4 the value for the movie parms winds up with:

1. MyContoller/ /deptdir/my sound.mp3

我尝试了乌拉尔的每一种组合。 内容、决心,等等,但都发生在服务器上,对客户没有帮助。 我也试图说明如何与线路图做一些事情,但在这方面没有成功......在不正确的URL......中间,我甚至连“......”都没有成功。

如果能提供这方面的帮助,那么,在如何使用与MVC 2号卫星的闪电方面,会发现任何良好的博客?

提前感谢。

问题回答

我可以给出确切的答案,但是,要看的是:

Are you sure the swf expects the parm with the quotes? It is more common to send URL parameters like that without quotes, like "/Content/MyApp.swf?parm=/sounddir/mysound.mp3".

用于计算 s卷宗的URL参数的一种替代办法是:。 如果你从对准参数的估价转向使用闪电灯,则需要改变闪电中的“行动”文字,它将在内部收回同样的价值。





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Sorting twodimensional Array in AS3

So, i have a two-dimensional Array of ID s and vote count - voteArray[i][0] = ID, voteArray[i][1] = vote count I want the top 3 voted items to be displayed in different colors, so i have a 2nd Array -...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

Red5 Security Tutorial

I am looking for a step by step tutorial on securing Red5 from intrusion. This seems to be a question that comes up alot in a google search, but is never really answered in a way that makes sense to ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

visible property of DisplayObject

For example I have a hierarchy of movie clips. mc1 is a child of mc, and mc2 is a child of mc1. Turns out that when I set mc1.visible = false; mc2.visible stays true. Is that supposed to happen?...

热门标签