連接FlashCom服務(wù)器或Flash Remoting Gateway跨網(wǎng)域(Across Domain)的問題 | (15-08-2003) |
![]() |
|
所謂連接跨網(wǎng)域FlashCom服務(wù)器意思就是:SWF文件在domainA.com,F(xiàn)lashCom服務(wù)器在domainB.com,在SWF文件中用:
my_nc = new NetConnection(); 我測試過,這是可以的,忽然有一個奇想,豈不是可以偷別人的FlashCom服務(wù)器來用?當然啦,別人的main.asc有你需要用的程序。 所謂連接跨網(wǎng)域Flash Remoting Gateway意思就是:SWF文件在domainA.com,F(xiàn)lash Remoting Gateway在domainB.com,在SWF文件中用:
NetServices.setDefaultGatewayUrl("http://www.domainB. 我測試過,這個當然是不可以的,因為Flash Remoting Gateway只是跳板,跟著就可以連接Remote Services,如果可以這樣做,所有人都不用Macromedia的產(chǎn)品,哈哈。 |
|
本文章由 luar 發(fā)表。 |