Skip navigation
Currently Being Moderated

flowComposer is null

May 16, 2013 9:36 AM

Tags: #textflow #flex #actionscript #flex-4.6 #actionscript_3.0 #flex4.6 #sdk4.6 #flowcompose

Normal behaviour:

If i change the text, size or resize the component i have always the standard flow composer and that is great!

Because i need it to read the lines and the content for each line.

FDCustomRichEditableText.textFlow_damageHandler(event)[object StandardFlowComposer]

BUT!

After i change the font family ( i am using embebed fonts with cff) the text flow change my flow composer to:

FDCustomRichEditableText.textFlow_damageHandler(event)[object TCMFactoryDisplayComposer]

Then every time that the text is damaged my flow composer is null.

Would be great if someone could help me to prevent this behaviour!!!

Flex sdk 4.6

 
Replies
  • Currently Being Moderated
    May 16, 2013 10:51 AM   in reply to miguel.cd.ferreira

    How small a test case can you put together?

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2013 11:16 AM   in reply to miguel.cd.ferreira

    What kind of SWF is the font embedded in?  A Flex Module?  Something else?  It may not work if you just load embedded fonts that were embedded in some SWF you created in FlashPro.  Also, the complete Event may fire before the font gets registered so it may be that the code can't find the font.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points