Flex3 FileReference.load()でエラーが発生する
FlashPlayer の バージョンを10.0以上にする必要がある。
ライブラリプロジェクトの場合、FlashPlayerのバージョンを選択することができないので、
読み込むライブラリを変更する必要がある
手順
- Open the "Flex Build Path" tab.
- Expand "Flex 3", select "playerglobal.swc" and click "Remove".
- Note the directory path in "Flex 3 - " (on my system it's /Applications/Adobe Flex Builder 3 Plug-in/sdks/3.2.0).
- Click "Add SWC" and navigate to the that path, and then deeper into frameworks/libs/player/10, select playerglobal.swc.
- Expand "playerglobal.swc", double-click "Link Type" and change it to "External".
- Open the "Flex Compiler" tab
- In "HTML wrapper", change the "Require Flash Player version" to 10.0.0.