随笔 - 8  文章 - 55  trackbacks - 0
<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(6)

随笔分类

随笔档案

文章分类

文章档案

朋友的Blog

最新评论

阅读排行榜

评论排行榜

連接FlashCom服務器或Flash Remoting Gateway跨網域(Across Domain)的問題 (15-08-2003)

所謂連接跨網域FlashCom服務器意思就是:SWF文件在domainA.com,FlashCom服務器在domainB.com,在SWF文件中用:

my_nc = new NetConnection();
my_nc.connect("rtmp://www.domainB.com/appsInst");

我測試過,這是可以的,忽然有一個奇想,豈不是可以偷別人的FlashCom服務器來用?當然啦,別人的main.asc有你需要用的程序。

所謂連接跨網域Flash Remoting Gateway意思就是:SWF文件在domainA.com,Flash Remoting Gateway在domainB.com,在SWF文件中用:

NetServices.setDefaultGatewayUrl("http://www.domainB.
com/flashremoting/gateway.aspx");
gatewayConnection=NetServices.createGatewayConnection();

我測試過,這個當然是不可以的,因為Flash Remoting Gateway只是跳板,跟著就可以連接Remote Services,如果可以這樣做,所有人都不用Macromedia的產品,哈哈。

本文章由 luar 發表。
posted on 2006-06-07 09:33 blog搬家了--[www.ialway.com/blog] 阅读(363) 评论(0)  编辑  收藏 所属分类: FMS

只有注册用户登录后才能发表评论。


网站导航: