Answered
importToFlow(...) Broken?
I recompiled my project using the new library packages as
recommended in the other topic I started earlier. Suddenly,
creating my TextFlow object by way of import is no longer working.
This happens both using TLF builds 4648 and the packages contained
within the SDK nightly 4635. Code in question:
// Create a text flow
var markup:XML = <TextFlow><p></p></TextFlow>;
theTextFlow = TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
This worked fine with the TLF version distributed on Adobe Labs from November. With the new nightly builds, importToFlow(...) is returning a null value.
I do have an account on the Adobe Bug Tracking System/JIRA but I'm not sure if I hit a bug or constructing a text flow has changed in the past 2 months. Any ideas?
// Create a text flow
var markup:XML = <TextFlow><p></p></TextFlow>;
theTextFlow = TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
This worked fine with the TLF version distributed on Adobe Labs from November. With the new nightly builds, importToFlow(...) is returning a null value.
I do have an account on the Adobe Bug Tracking System/JIRA but I'm not sure if I hit a bug or constructing a text flow has changed in the past 2 months. Any ideas?
