flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: [FlexJS] refactor_sprite branch
Date Thu, 11 Aug 2016 21:21:11 GMT
I ran a couple just now.

ChartExample -
SWF: OK
JS: No errors but everything is drawn up in the corner on top of each
other.

CreateJSExample -
SWF: same problem as before
JS: Actually works!

DataBindingExample -
SWF: OK
JS: No errors, but everything is on top of each other. It runs, but looks
terrible.

—peter

On 8/11/16, 4:27 PM, "Alex Harui" <aharui@adobe.com> wrote:

>Looks like nobody found time to merge the Language.string from develop
>into the refactor-sprite branch.
>
>I just did that but didn't test it, but please try the JS versions again.
>
>-Alex
>
>On 8/11/16, 11:28 AM, "Peter Ent" <pent@adobe.com> wrote:
>
>>Here's a breakdown of all of the examples except a couple which require
>>AIR and/or Cordova. Bottom line is that none of the JS versions work, all
>>with the same error. The SWF versions have mixed results, but most have
>>errors.
>>
>>ChartExample -
>>SWF: OK
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>CreateJSExample -
>>SWF: TypeError: Error #1007: Instantiation attempted on a
>>non-constructor.
>>	at org.apache.flex.core::UIHTMLElementWrapper/get
>>model()[/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/
>>o
>>r
>>g/apache/flex/core/UIHTMLElementWrapper.as:117]
>>	at 
>>org.apache.flex.core::Application/initHandler()[/Users/pent/dev/flex-asjs
>>/
>>f
>>rameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as
>>:
>>0
>>]
>>	at 
>>org.apache.flex.core::Application/setRoot()[/Users/pent/dev/flex-asjs/fra
>>m
>>e
>>works/projects/Core/src/main/flex/org/apache/flex/core/Application.as:146
>>]
>>	at 
>>org.apache.flex.core::ApplicationFactory/deferredFrameHandler()[/Users/pe
>>n
>>t
>>/dev/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/cor
>>e
>>/
>>ApplicationFactory.as:78]
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>DataBindingExample_as -
>>SWF: TypeError: Error #2023: Class DataBindingExample$ must inherit from
>>Sprite to link to the root.
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>DataBindingExample_flat -
>>SWF: blank screen, no error.
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>DataGridExample -
>>SWF: OK
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>FlexJSStore -
>>SWF: TypeError: Error #1007: Instantiation attempted on a
>>non-constructor.
>>	at org.apache.flex.core::UIHTMLElementWrapper/get
>>model()[/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/
>>o
>>r
>>g/apache/flex/core/UIHTMLElementWrapper.as:117]
>>	at 
>>org.apache.flex.core::Application/initHandler()[/Users/pent/dev/flex-asjs
>>/
>>f
>>rameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as
>>:
>>0
>>]
>>	at 
>>org.apache.flex.core::Application/setRoot()[/Users/pent/dev/flex-asjs/fra
>>m
>>e
>>works/projects/Core/src/main/flex/org/apache/flex/core/Application.as:146
>>]
>>	at 
>>org.apache.flex.core::ApplicationFactory/deferredFrameHandler()[/Users/pe
>>n
>>t
>>/dev/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/cor
>>e
>>/
>>ApplicationFactory.as:78]
>>JS: Several "Unexpected CSS token." messages; TypeError:
>>org.apache.flex.utils.Language.string is not a function.
>>
>>
>>FlexJSStore_jquery -
>>SWF: TypeError: Error #1007: Instantiation attempted on a
>>non-constructor.
>>	at org.apache.flex.core::UIHTMLElementWrapper/get
>>model()[/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/
>>o
>>r
>>g/apache/flex/core/UIHTMLElementWrapper.as:117]
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>FlexWebsiteStatsViewer -
>>SWF: OK
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>HelloWorld -
>>SWF: OK
>>JSL: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>MapSearch - 
>>SWF: N/A
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>MobileMap -
>>SWF: VerifyError: Error #1014: Class flash.html::HTMLLoader could not be
>>found.
>>
>>	at flash.display::MovieClip/nextFrame()
>>	at 
>>org.apache.flex.core::ApplicationFactory/initHandler()[/Users/pent/dev/fl
>>e
>>x
>>-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Applica
>>t
>>i
>>onFactory.as:66]
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>MobileTrader -
>>SWF: OK
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>StorageExample -
>>SWF: N/A
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>StyleExample -
>>SWF: OK
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>TodoListSampleApp -
>>SWF: Has odd behavior when adding items to the list (large blank space at
>>top).
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>TreeExample -
>>SWF: Had odd behavior when adding items to the list (large blank space at
>>top).
>>JS: TypeError: org.apache.flex.utils.Language.string is not a function.
>>
>>
>>
>>
>>On 8/11/16, 11:39 AM, "Peter Ent" <pent@adobe.com> wrote:
>>
>>>Thanks. I now have mobile trader working. That example requires
>>>FALCON_HOME to be set to the compiler directory but I didn't need it for
>>>DataBindingExample. I'll see what others need it. Seems best to avoid
>>>env
>>>vars if possible.
>>>‹peter
>>>
>>>On 8/11/16, 11:14 AM, "Alex Harui" <aharui@adobe.com> wrote:
>>>
>>>>
>>>>
>>>>On 8/11/16, 7:24 AM, "Peter Ent" <pent@adobe.com> wrote:
>>>>
>>>>>I have this:
>>>>>
>>>>>[echo] 
>>>>>FALCON_HOME=/Users/pent/dev/flex-falcon/compiler/generated/dist/sdk
>>>>>     [echo] FALCONJX_HOME=/Users/pent/dev/flex-falcon/compiler-jx
>>>>>
>>>>>
>>>>>The build fails if I set FALCON_HOME to the flex-falcon directory.
>>>>
>>>>That looks like a leftover from before the maven refactor.  Remove the
>>>>generated folder.
>>>>
>>>>In theory, you shouldn't even need environment variables anymore.  The
>>>>scripts should pick good defaults if you have the usual sibling repos
>>>>in
>>>>the expected places.  If you need to set an environment variable, the
>>>>READme says to choose flex-falcon/compiler
>>>>
>>>>-Alex
>>>>
>>>
>>
>

Mime
View raw message