In index.html, I replaced this:
goog.addDependency('../../../test_project.js', ['test_project'], 
['org.apache.flex.core.IBeadModel', 'org.apache.flex.events.ValueChangeEvent', 
'org.apache.flex.core.IFlexJSElement', 
'org.apache.flex.html.beads.layouts.BasicLayout', 
'org.apache.flex.utils.MXMLDataInterpreter', 
'org.apache.flex.core.ValuesManager', 'org.apache.flex.core.IBeadController', 
'org.apache.flex.utils.Timer', 'org.apache.flex.events.BrowserEvent', 
'org.apache.flex.core.IMeasurementBead', 
'org.apache.flex.events.utils.EventUtils', 'org.apache.flex.core.View', 
'org.apache.flex.events.ValueEvent', 'org.apache.flex.utils.CSSUtils', 
'org.apache.flex.utils.Language', 'org.apache.flex.html.Label', 
'org.apache.flex.states.ItemAndDescriptor', 
'org.apache.flex.html.beads.GroupView', 'org.apache.flex.events.ElementEvents', 
'org.apache.flex.utils.StringPadder', 'org.apache.flex.utils.EffectTimer', 
'org.apache.flex.core.SimpleStatesImpl', 
'org.apache.flex.states.SetEventHandler', 
'org.apache.flex.utils.StringTrimmer', 'org.apache.flex.utils.Endian', 
'org.apache.flex.utils.StringUtil', 'org.apache.flex.core.IContainer', 
'org.apache.flex.states.AddItems', 'org.apache.flex.core.SimpleCSSValuesImpl', 
'org.apache.flex.states.SetProperty', 
'org.apache.flex.html.beads.layouts.HorizontalFlexLayout', 
'org.apache.flex.utils.BinaryData']);

With this:

goog.addDependency('../../../test_project.js', ['test_project'], 
['org.apache.flex.core.Application','org.apache.flex.core.IBeadModel', 
'org.apache.flex.events.ValueChangeEvent', 
'org.apache.flex.core.IFlexJSElement', 
'org.apache.flex.html.beads.layouts.BasicLayout', 
'org.apache.flex.utils.MXMLDataInterpreter', 
'org.apache.flex.core.ValuesManager', 'org.apache.flex.core.IBeadController', 
'org.apache.flex.utils.Timer', 'org.apache.flex.events.BrowserEvent', 
'org.apache.flex.core.IMeasurementBead', 
'org.apache.flex.events.utils.EventUtils', 'org.apache.flex.core.View', 
'org.apache.flex.events.ValueEvent', 'org.apache.flex.utils.CSSUtils', 
'org.apache.flex.utils.Language', 'org.apache.flex.html.Label', 
'org.apache.flex.states.ItemAndDescriptor', 
'org.apache.flex.html.beads.GroupView', 'org.apache.flex.events.ElementEvents', 
'org.apache.flex.utils.StringPadder', 'org.apache.flex.utils.EffectTimer', 
'org.apache.flex.core.SimpleStatesImpl', 
'org.apache.flex.states.SetEventHandler', 
'org.apache.flex.utils.StringTrimmer', 'org.apache.flex.utils.Endian', 
'org.apache.flex.utils.StringUtil', 'org.apache.flex.core.IContainer', 
'org.apache.flex.states.AddItems', 'org.apache.flex.core.SimpleCSSValuesImpl', 
'org.apache.flex.states.SetProperty', 
'org.apache.flex.html.beads.layouts.HorizontalFlexLayout', 
'org.apache.flex.utils.BinaryData']);

(i.e. just added ‘org.apache.flex.core.Application’ to the beginning of the 
list of dependencies)

> On Mar 29, 2017, at 4:52 PM, Alex Harui <aha...@adobe.com> wrote:
> 
> What did you add that fixed it?
> 
> -Alex
> 
> On 3/29/17, 1:47 PM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> Yes. Once I added the dependency manually, the app works as expected.
>> 
>> I am now in NY and I can test your latest changes. I will do so and
>> report whether I’m still getting the error.
>> 
>> Harbs
>> 
>>> On Mar 29, 2017, at 2:09 AM, Alex Harui <aha...@adobe.com> wrote:
>>> 
>>> 
>>> 
>>> On 3/28/17, 11:01 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>> 
>>>> I’ll let you know if I do.
>>>> 
>>>> Have you been able to reproduce the problem with the missing
>>>> org.apache.flex.core.Application dependency?
>>> 
>>> No.  I haven't hit that one.  Earlier I listed things to check:  Is the
>>> right SWC there?  Does the SWC have the right content?
>>> 
>>> HTH,
>>> -Alex
>>> 
>> 
> 

Reply via email to