Flex Builder “信任”問題?


每一次chowky rename or replace the whole flex project in Flex Builder ,就一定會出問題,不知道什麼原因 (因為每次都是再一次create new project 就解決),直至近來見到以下的blog,chowky 才明白原來係flash player 的security 問題

每當開一個新的flex proejct ,IDE 就會update flash 的config file mark “bin-debug” 是一個trusted resource,所以那個project 才可以access 到local resource and remote services。

但是,當import, rename or move flex project,flex builder 原來是不會update 那個config file,所以就會出現

dreaded Security Sandbox Violation: Security Error: Error #2148.

所以要人手udpate

Security File 的位置。

PC:
C:\Documents and Settings\[username]\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust

Mac:
[user]:Library:Preferences:Macromedia:Flash Player:#Security:FlashPlayerTrust

Source: http://knomedia.com/blog/2009/05/21/flex-builder-has-trust-issues/

Share

, , ,

  1. No comments yet.
(will not be published)

Anti-Spam Protection by WP-SpamFree