Skip to main content
Participating Frequently
January 29, 2010
Question

Problems with latest text editor example - flash builder 4 out of date

  • January 29, 2010
  • 1 reply
  • 938 views

Hi hope someone can help. I've been trying to run the full text editor example posted in this forum. problem is It seems to use the newer Text Layout SDK rather than the one that bundles with flex 4. Specifically some of the constants are different. Is it possible to replace the flex 4 sdk with the newer one? I tried downloading from the open source svn repository but I can't easily get that code to work as it seems to have compiler stuff added to the code that will only allow it to be compiled with ant but doesn't seem to work in flex builder .
Any help appreciated.

Thanks

This topic has been closed for replies.

1 reply

Adobe Employee
January 29, 2010

I assume you're referring to the Flex SDK 4 bundled with Flash builder beta 2.

You can get a more recent Flex SDK here.

http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

Hope that helps,

Richard

wtf2009Author
Participating Frequently
February 2, 2010

As far as I can tell the latest available download from the source you gave me is also out of date with regards to TextLayout. When I run the texteditor examples I get errors complaining about undefined constants such as TextConverter.TEXT_FIELD_HTML_FORMAT . When I look at the latest open source release the constant is there. Its obvious to me that the flex 4 beta release is out of date. I'm going to try and use the TextLayout SWC file I have but this means removing the textlayout component from Flex4 beta to avoid clashes. If I have success I will report back for the benefit of others if someone knows what my problem is please reply. Basically all I am trying to do is get under the hood with the TextEditor ( not the simple one) example.

wtf2009Author
Participating Frequently
February 2, 2010

I'm going round in circles here. The only

TextLayout framework th

at seems up to date is in theFlex 4 sdk. As I stated at the start of this post I don't know how to run that from within flex builder as it seems designed to compile against ANT only. The flex 4 Beta open source frame work is out of date for the recently posted examples. If anybody knows how to get round this or has a more up to date SWC file could they please let me know? Thanks for any help, Garry.