AIR with Flex4 Compilation Bug
“VerifyError: Error #1014: Class flash.text.engine::TextLine could not be found.” – The Error I got when trying to compile MXML with below configurations:
AIR Beta 2 Runtime, Flex 4 SDK, AIR Beta 2 SDK
Solution :
Open the project folder and edit the “.actionScriptProperties” file
Change the compiled flash swf target runtime from htmlPlayerVersion=”9.0.28″ to htmlPlayerVersion=”10.0.0″.
Also make sure your app.xml namespace to be “http://ns.adobe.com/air/application/2.0beta2”
sir,
my htmlPlayerVersion is alreadey 10.0.0 in .actionscriptproperties file
mine is mxml file in that in application tag if i replaced xmlns:mx=”http://www.adobe.com/2006/mxml” with “http://ns.adobe.com/air/application/2.0beta2″ it is not working showing error
Check the SDK for your compiler, it should use the AIR Beta 2 SDK