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”

    • Haneef
    • March 2nd, 2010

    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

  1. No trackbacks yet.

Leave a reply to Haneef Cancel reply