Recently i was developing application that uses Text Layout Framework and runs in the browser using Flash Player 10. When trying to use the same piece of the code in new created AIR application, the following error shows up: "ReferenceError: Error #1065: Variable flash.text.engine::BreakOpportunity is not defined.".
The solution is to edit .actionScriptProperties file inside the root of your project. Find htmlPlayerVersion tag and change it to something like this: htmlPlayerVersion="10.0.0". This will do a trick. It should save about 2 hours of your life :)
No comments:
Post a Comment