Hi Miguel,
Another option may be to handle the tab key by assigning a custom
EditManager (extending flashx.textLayout.edit.EditManager) to the TextFlow :
/public class CustomEditManager extends EditManager
{
override public function
keyDownHandler(event:KeyboardEvent):void
{
if (event.keyCode == 9)
{
// Your implementation
}
}
}/
And assigning this custom EditManager to the TextFlow :
/yourTextFlow.interactionManager = new CustomEditManager();
/
Miguel Ferreira wrote
> The perfect solution should be to merge the both solutions and on the
> TextFlowUtil.importFromXML we could pass the configuration or by default
> use the default configuration set it in TextFlow.defaultConfiguration.
> in this moment is what i am making to test all the workflow.
> Thank you for the input
>
>> From:
> smatheson@
>> To:
> [email protected]
>> Subject: Re: textflow configuration manageTabkey
>> Date: Mon, 28 Apr 2014 12:55:21 +0000
>>
>> Hi
>> If you have a simple textFlow display only, it seems to work well, I
>> found in some case with alinement = center and links in text, I found the
>> clickable link target area was wrong, I need to upgrade and check my
>> issue
>> with latest SDK, then create a bug if there is still an issue
>>
>> Just do some good Q&A on this feature to save you a lot of work later
>>
>> Scott
>>
>>
>> On 4/28/14, 1:48 PM, "Miguel Ferreira" <
> miguel.cd.ferreira@
> >
>> wrote:
>>
>> >Hi Vicent,
>> >Thank you.
>> >I was using the TextFlowUtil.importFromXML.
>> >now beucase or email i changed for this:
>> >TextConverter.importToFlow(tlfXML , TextConverter.TEXT_LAYOUT_FORMAT,
>> >TextFlow.defaultConfiguration );
>> >Then i can pass the configuration that i need.
>> >Thanks for the big picture!
>> >Now i have a error on the change event but i have to check it...
>> >
>> >> Date: Mon, 28 Apr 2014 12:17:36 +0200
>> >> From:
> vincent@
>> >> To:
> [email protected]
>> >> Subject: Re: textflow configuration manageTabkey
>> >>
>> >> Hi Miguel,
>> >>
>> >> When you import your TextFlow from the XML, do you set the config
>> >> parameter of the importToFlow method ? this parameter can be used to
>> >> associate a Configuration to the TextFlow.
>> >>
>> >> Vincent.
>> >>
>> >>
>> >>
>> >> Le 28/04/2014 12:02, Miguel Ferreira a écrit :
>> >> > Hi all,
>> >> > I am trying to do something and i am sure that should be available a
>> >>easy way to do it when i can see all the picture, but meanwhile is not
>> >>the case so maybe some one can help.
>> >> > I change the default configuration of the textFlow like this;
>> >> > TextFlow.defaultConfiguration.manageTabKey = true;
>> >> >
>> >> > When i see the defalut textflow from a richtext i have that option
>> >>enabled without any problem.
>> >> >
>> >> > The problem starts when i use :
>> >> > TextFlowUtil.importFromXML
>> >> > everytime that i have a XML and i import it to textflow the
>> configure
>> >>for the manageTabKey is false and if i want to change i cannot because
>> >>is read only on the documents i did not find a solution for that.
>> >> > Someone face the same problem before?
>> >> >
>> >> > Thank you for some feedback in advance.
>> >> > Miguel.
>> >>
>> >
>>
>>
>> ________________________________
>>
>> Disclaimer: This electronic mail and any attachments are confidential and
>> may be privileged. If you are not the intended recipient, please notify
>> the sender immediately by replying to this email, and destroy all copies
>> of this email and any attachments. Thank you.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/blurry-fonts-tp2973p6321.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.