flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: [FlexJS] internal classes based on other classes
Date Sun, 09 Apr 2017 05:05:28 GMT

> On Apr 9, 2017, at 12:46 AM, Alex Harui <aharui@adobe.com> wrote:
> I'll look into it.  I thought I'd fixed that already.  I assume
> BackgroundManager isn't one of the goog.requires in FactoryComposer.js?

I don’t remember, and I already modified my state of TLF. If you need me to check, I can
try and revert.

> And I assume you cleaned out old JS files?


> -Alex
> On 4/8/17, 9:15 PM, "Harbs" <harbs.lists@gmail.com> wrote:
>> The current state of Falcon seems to be okay so far, but I just bumped
>> into an interesting problem.
>> In TLF, there’s a class: FactoryComposer. FactoryComposer has an internal
>> class called FactoryBackgroundManager which subclasses
>> org.apache.flex.textLayout.elements.BackgroundManager.
>> Because FactoryBackgroundManager is an internal class, the normal
>> dependency chain is not built and I’m getting an error on the following
>> line:
>> goog.inherits(org.apache.flex.textLayout.compose.FactoryComposer.FactoryBa
>> ckgroundManager, org.apache.flex.textLayout.elements.BackgroundManager);
>> This is because this code is running before  BackgroundManager is loaded.
>> The work-around is to move the internal class out into its own file, but
>> I think this is something which should work.
>> Harbs

View raw message