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 “”

    • Haneef
    • March 2nd, 2010

    my htmlPlayerVersion is alreadey 10.0.0 in .actionscriptproperties file

    mine is mxml file in that in application tag if i replaced xmlns:mx=”” with “″ 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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: