Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-10 Thread yishayw
Makes sense, we can do without those libraries. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54454.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS] refactor-sprite flash events

2016-08-10 Thread yishayw
Being able to return to a flash workflow, now that the runtime errors have been figured out, is a great boost. We're getting to the stage where event handling becomes important. Is this actively being worked on? Alex, can you share what stage you got to, and if it makes sense for us to pick it up f

Re: [FlexJS] refactor-sprite flash events

2016-08-10 Thread Alex Harui
Events were working in databinding example. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: yishayw Date: Wed, Aug 10, 2016 2:37 AM To: dev@flex.apache.org; Subject:[FlexJS] refactor-sprite flash events Being able to return to a flash workflow, now that the runt

Re: [FlexJS] refactor-sprite flash events

2016-08-10 Thread yishayw
You're right, alerts weren't closing and I mistakenly blamed events. The problem was Application not properly wrapping its element and not implementing IPopUpHost. Fixed. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-refactor-sprite-flash-events-tp

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Peter Ent
I'm going to change the examples that have given issues from "source" to "url" and post my results. ‹peter On 8/9/16, 5:31 PM, "Harbs" wrote: >I¹ll be happy to change it back to source if others disagreeŠ > >On Aug 10, 2016, at 12:30 AM, Harbs wrote: > >> I tried to change that in the examples

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Peter Ent
I did a sync again and I'm seeing more errors. Running the CreateJSExample (which I accidentally skipped yesterday) yields this on SWF: TypeError: Error #1007: Instantiation attempted on a non-constructor. at org.apache.flex.core::UIHTMLElementWrapper/get model()[/Users/pent/dev/flex-asjs/

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Harbs
I was getting the same error on my project. I think it’s from js.swc. On Aug 10, 2016, at 9:18 PM, Peter Ent wrote: > When I run MobileTrader, the JS version looks OK, but the SWF version > gives an immediate error: > VerifyError: Error #1014: Class mx.core::IFlexModuleFactory could not be > fo

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
>On Aug 10, 2016, at 9:18 PM, Peter Ent wrote: > >> When I run MobileTrader, the JS version looks OK, but the SWF version >> gives an immediate error: >> VerifyError: Error #1014: Class mx.core::IFlexModuleFactory could not be >> found. > This indicates you are running and out-of-date Falcon co

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Harbs
Alex, What’s the state of the implicit coercions in Falcon? Should I give it another try? On Aug 10, 2016, at 10:21 PM, Alex Harui wrote: > > >> On Aug 10, 2016, at 9:18 PM, Peter Ent wrote: >> >>> When I run MobileTrader, the JS version looks OK, but the SWF version >>> gives an immediate

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
On 8/10/16, 12:24 PM, "Harbs" wrote: >Alex, > >What’s the state of the implicit coercions in Falcon? > >Should I give it another try? I pushed an update last night. In theory it only adds coercions on assignments. It will call Language.string() to do the conversion, so if you are working in

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Harbs
OK. I’ll take it for a spin when I have some time. Does this address the double toString() methods too? Is it smart enough to only call the Language.string() method when it’s not otherwise being cast? On Aug 10, 2016, at 10:45 PM, Alex Harui wrote: > > > On 8/10/16, 12:24 PM, "Harbs" wrote:

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
I will try to make a unit test out of the test case you cited. In theory if the expression resolves to a String no implicit conversion will be added. Maybe your expression was XML-ish which doesn't always resolve so I might need to special case that. -Alex On 8/10/16, 12:54 PM, "Harbs" wrote:

[GitHub] flex-falcon pull request #7: added the beginnings of a batch file for Window...

2016-08-10 Thread jdm7dv
GitHub user jdm7dv opened a pull request: https://github.com/apache/flex-falcon/pull/7 added the beginnings of a batch file for Windows. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jdm7dv/flex-falcon develop Alternatively yo

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Peter Ent
I have the Aug 1 compile. Is the .toString() thing fixed? I'll check it out anyway and give it a try. ‹peter On 8/10/16, 4:03 PM, "Alex Harui" wrote: >I will try to make a unit test out of the test case you cited. In theory >if the expression resolves to a String no implicit conversion will be

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
On 8/10/16, 1:44 PM, "Peter Ent" wrote: >I have the Aug 1 compile. Is the .toString() thing fixed? I'll check it >out anyway and give it a try. It looks better, but I think it isn't doing the right thing in Namespace and Qname yet. It looks like the ConstantBinding issue is fixed. -Alex

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Peter Ent
I sync'd up with the latest falcon and rebuilt (ant all), rebuild flex-asjs (refactor-sprite branch), rebuild MobileTrader. Running the SWF version I get: VerifyError: Error #1014: Class mx.core::IFlexModuleFactory could not be found. Followed by: ReferenceError: Error #1065: Variable _MobileTrad

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
Worked for me. Alter the ant script for MobileTrader to spit out the FALCON_HOME value. -Alex On 8/10/16, 1:58 PM, "Peter Ent" wrote: >I sync'd up with the latest falcon and rebuilt (ant all), rebuild >flex-asjs (refactor-sprite branch), rebuild MobileTrader. Running the SWF >version I get: >V

[GitHub] flex-falcon pull request #7: added the beginnings of a batch file for Window...

2016-08-10 Thread jdm7dv
Github user jdm7dv closed the pull request at: https://github.com/apache/flex-falcon/pull/7 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

[GitHub] flex-falcon pull request #7: added the beginnings of a batch file for Window...

2016-08-10 Thread jdm7dv
GitHub user jdm7dv reopened a pull request: https://github.com/apache/flex-falcon/pull/7 added the beginnings of a batch file for Windows. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jdm7dv/flex-falcon develop Alternatively

Re: [FlexJS] refactor_sprite branch

2016-08-10 Thread Alex Harui
OK, just pushed a fix for Namespace and Qname. Scanning our generated JS code shows that many implicit coercions are still being generated, but as far as I can tell they are all "correct". We could do more "guessing" like assuming that someArray[someIndex].substring() is really going to return a s