[ 
https://issues.apache.org/jira/browse/FLEX-35371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hugo Ferreira closed FLEX-35371.
--------------------------------
    Resolution: Fixed

I just find out that this a specific issue on my TLF editor and not directly 
related with the TLF engine.

> TLF - Import/Load with base64 image
> -----------------------------------
>
>                 Key: FLEX-35371
>                 URL: https://issues.apache.org/jira/browse/FLEX-35371
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: TLF
>    Affects Versions: Apache Flex 4.16.0
>            Reporter: Hugo Ferreira
>
> In the JIRA https://issues.apache.org/jira/browse/FLEX-35370 I donated my 
> patch to fully support base64 image for import and export, however after 
> reload (import), the TLF freezes until the user press any key.
> I found a very darty patch but works.
> After import on the end of the method importToFlow of the class 
> TextConverter, add the following patch:
> {code:java}
> var textFlow:TextFlow = parser.importToFlow(source);
> if (textFlow.interactionManager != null && textFlow.interactionManager is 
> IEditManager)
> {
>     var timer:Timer = new Timer(1, 1);
>     timer.addEventListener(TimerEvent.TIMER, function (event:TimerEvent):void
>     {
>         (textFlow.interactionManager as IEditManager).updateAllControllers();
>     });
>     timer.start();
> }
> return textFlow;
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to