一直找不出原因和解決的方法…
不過用brower去run卻又都很正常,後來就沒有繼續找答案…
今天有上網找了一下,終於看到了答案…
參考的網頁:
http://www.shch8.com/blog/post/72.html
試了一下,發現只要將amfphp的gateway.php裡面的
$gateway->disableStandalonePlayer();
這行註解掉就行了…
其實答案就在gateway.php裡頭的註釋就有了,
卻一直沒有花一點時間去好好看看gateway.php這個檔…orz...
如下:
// Keep the Flash/Flex IDE player from connecting to the gateway.
Used for security to stop remote connections.
原來直接在flash CS5裡面直接run AMFPHP(standalone?)
本來基於安全的理由就會被禁止的,用brower去連就沒有這樣的問題了:)
沒有留言:
張貼留言