Skip to main content
Inspiring
February 19, 2009
Answered

Problem with installing

  • February 19, 2009
  • 1 reply
  • 450 views
hi,
i've downloaded the textlayout framework from adobe's site, and placed the 3 SWC's inside 'C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\textLayout'. i've created a new AS project in flex out of the 'textLayout' folder inside the examples folder included in the zip file i've downloaded. when i run each of the .as files in the project all works fine.
however, i've created a new AS project in flex, created a new package in it called examples and placed in it all the examples' .as files. in that project's main class i've created a new instance of 'HelloWorld'. when i ran that project i get the following error: "VerifyError: Error #1014: Class flash.text.engine::ContentElement could not be found.".
just so you'd know, the project's library path includes all the textlayout's swc's and also 'playerglobal.swc' of player 10, so the auto-complete in the code works both for 'flashx.textlayout' and 'flash.text.engine'.

any ideas why i get that error?
thanks in advance,
eRez
This topic has been closed for replies.
Correct answer rdermer
Check the "Require Player Version" in the FlexCompiler options. It needs to be set to player 10.0.0. You may have to check and uncheck "Generate HTML wrapper file".

In some cases I've had to hand edit the dot metadata files to get the right player version set.

Richard

1 reply

rdermerCorrect answer
Adobe Employee
February 19, 2009
Check the "Require Player Version" in the FlexCompiler options. It needs to be set to player 10.0.0. You may have to check and uncheck "Generate HTML wrapper file".

In some cases I've had to hand edit the dot metadata files to get the right player version set.

Richard
theErezAuthor
Inspiring
February 22, 2009
Bingo!
that solved the problem, thanks!
eRez