小技巧:如何設定 mac 上的 flashplayertrust 檔案

In flex   May 28, 2008 - 3:44 pm

有時在電腦上要測試 stand alone swf 讀取 local file 與 network 的功能,但一般安全性設定會擋掉這種操作,這時就需要一些設定。

1. 在下面目錄裏建一個新檔案,叫 myTrust.cfg (如果有少 folder 就自已建上去)

/Users/user_name/Library/Preferences/Macromedia/Flash\ Player/\#Security/FlashPlayerTrust/myTrust.cfg

2. 在這個文件裏加上你要允許執行 swf 的目錄,例如

/Users/user_name/Downloads/

在 windows 上也有類似的設定檔,但我已不再需要了…XD

by admin

留言回應

hidden

您的留言會先經過站長認証後才刊登在網站上。
your comments will be approved by Administrator before appearing on the page.

Trackback this post  |  Subscribe to the comments via RSS Feed

mobile phone