Skip to main content
Inspiring
Feb 19, 2009 4:38 PM UTC
Answered

Problem with installing

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 is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Feb 19, 2009 6:06 PM UTC
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

2 replies

rdermerCorrect answer
Inspiring
Feb 19, 2009 6:06 PM UTC
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
Translate
theErezAuthor
Inspiring
Feb 22, 2009 8:17 AM UTC
Bingo!
that solved the problem, thanks!
eRez
Translate