Re: ApacheCon / FlexJS Summit speaker and talk details needed for site

2017-03-20 Thread Justin Mclean
Hi, > I saw that you have update description in the talks on your own. Thank you. It still a bit of a work in progress. > I just did quick look on our website and our profiles are laying > horizontally and there are cutted. - Do you see it same ? It depends on the size of the screen. I’ve

Re: ApacheCon / FlexJS Summit speaker and talk details needed for site

2017-03-20 Thread piotrz
Hi Justin, I saw that you have update description in the talks on your own. Thank you. I just did quick look on our website and our profiles are laying horizontally and there are cutted. - Do you see it same ? As for the description maybe we should put all similar to cloudstuck did [1] - It

Re: Static initialization

2017-03-20 Thread Justin Mclean
Hi, > Are you sure the Google Closure Compiler will handle code outside methods > "properly". IMO, "loose code" isn't very OO, and may confuse how variable > renaming and dead code removal works. Absolutely no idea but it’s probably easy enough to try and see. Thanks, Justin

Re: Static initialization

2017-03-20 Thread Alex Harui
Are you sure the Google Closure Compiler will handle code outside methods "properly". IMO, "loose code" isn't very OO, and may confuse how variable renaming and dead code removal works. Just wondering... -Alex On 3/20/17, 3:38 PM, "Harbs" wrote: >Even better. > >I don’t

Re: Static initialization

2017-03-20 Thread Harbs
Even better. I don’t know why I never thought of trying this stuff. > On Mar 21, 2017, at 12:32 AM, Justin Mclean wrote: > > Hi, > >> I assume anonymous self invoking functions do not work in AS. Right? > > No need for a function you can just put in a static code

Re: Static initialization

2017-03-20 Thread Justin Mclean
Hi, > I assume anonymous self invoking functions do not work in AS. Right? No need for a function you can just put in a static code block like so: { code goes here; } Justin

Re: Static initialization

2017-03-20 Thread Josh Tynjala
Like this? (function() { //do stuff })(); I don't see why not. - Josh On Mon, Mar 20, 2017 at 3:18 PM, Harbs wrote: > Thanks. Right. I should have realized that myself. > > I assume anonymous self invoking functions do not work in AS. Right? > > > On Mar 20, 2017,

Re: [FlexJS] HTTP status text

2017-03-20 Thread Justin Mclean
Hi, > Sounds useful. What is the SWF equivalent? Would the same text show up > in IOError or SecurityError? As far as I can see there no easy way to get at the status text on AS only the status code. There may be a way [1] use web sockets but then again it looks like this bug [2] may stop

Re: Static initialization

2017-03-20 Thread Harbs
Thanks. Right. I should have realized that myself. I assume anonymous self invoking functions do not work in AS. Right? > On Mar 20, 2017, at 11:55 PM, Josh Tynjala wrote: > > Sorry, I misspoke. Don't put it in the package block. It should be inside > the class. This is

Re: Static initialization

2017-03-20 Thread Josh Tynjala
Sorry, I misspoke. Don't put it in the package block. It should be inside the class. This is the way to do it: https://paste.apache.org/P1Qq - Josh On Mon, Mar 20, 2017 at 2:53 PM, Josh Tynjala wrote: > I know you can call static functions from inside the package block.

Re: Static initialization

2017-03-20 Thread Josh Tynjala
I know you can call static functions from inside the package block. Simply put your loop inside the static function. Here's a simpler example that you should be able to modify to add your loop: https://paste.apache.org/dcVo It's certainly possible that FalconJX will mangle this code when

Static initialization

2017-03-20 Thread Harbs
Is there a good way to initialize static variables? I have a class which has a large static object and I need to initialize about 100 attributes in a loop. It’s actually a class being ported from Javascript. In Javascript, it’s pretty easy to do this. You just write the loop right after

Re: [FlexJS] typeof X === 'undefined'

2017-03-20 Thread Justin Mclean
Hi, > I'm definitely open to changing the compiler. Not sure what the right > answer is. Since we are theoretically writing AS, I'd lean away from > using "void 0”. IMO I’d also avoid it as it looks a little odd. > So, I think in code that is used in both SWF and JS, the developer will >

Re: 4.16.0 Windows Install issues (was Re: [ANNOUNCE] Apache Flex 4.16.0 released)

2017-03-20 Thread OmPrakash Muppirala
We could do a patch release that does not add any new feature for the 64 bit installer binary. We would need to bump up the version so that the auto update functionality would be triggered. In this we probably don't even need a source release as we will only be modifying the convenience

Re: [FlexJS] SVG getBBox

2017-03-20 Thread Harbs
The problem is that before it’s added to the DOM, the call causes an error in Firefox. > On Mar 20, 2017, at 8:01 PM, OmPrakash Muppirala wrote: > > Width and height properties are fine for rectangular shapes. For curves > and paths, we need the getBBox () method to get

Re: [FlexJS] SVG getBBox

2017-03-20 Thread OmPrakash Muppirala
Width and height properties are fine for rectangular shapes. For curves and paths, we need the getBBox () method to get the true extents. I think this call could be moved down the chain and called only when needed, i.e. for curves and non rectangular shapes. Moreover, the promise of the

4.16.0 Windows Install issues (was Re: [ANNOUNCE] Apache Flex 4.16.0 released)

2017-03-20 Thread Alex Harui
Renaming thread. On next post I will drop the [ANNOUNCE] tag so we don't fill the inboxes of those using an Announce filter. So, I have heard back from my internal contacts. There is no plan to allow the packaging of a 64-bit app the way we package the 32-bit Installer. Essentially, that means

Re: Flex SDK Installer. ERROR. Could not download latest SDK

2017-03-20 Thread Alex Harui
Yes. We are aware. It is being discussed in the Announce thread. -Alex From: Alex > Reply-To: "dev@flex.apache.org" > Date: Monday, March 20, 2017 at 9:09 AM To:

Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-20 Thread Alex Harui
Please try clearing your browser caches. I've seen that help on occasion. Also check your log and see if it is choosing a mirror that is reasonably close to you. If it picks a bad mirror the odds of a bad download is higher. You can try downloading the binary artifact [1], expanding it and

Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-20 Thread Vincent Sotto
tried at work and at home, same "The Apache Flex SDK MD5 Signature of the downloaded files does not match the reference value. The file is invalid, installation is aborted. Installation aborted" Im from asia/ph if that does matter. running win10 64bit, 10mpbs connection On Mon, Mar 20, 2017 at

Re: confirm subscribe to dev@flex.apache.org

2017-03-20 Thread darrin
Please remove me from the list also...@bijousoftware.com Thanks  Darrin  TennisOutlaws.com Original message From: Chris Miles Date: 20/03/2017 15:47 (GMT+00:00) To: dev@flex.apache.org Cc:

Re: confirm subscribe to dev@flex.apache.org

2017-03-20 Thread Chris Miles
On Wed, 15 Mar 2017 14:04:47 + wrote: > Hi! This is the ezmlm program. I'm managing the > dev@flex.apache.org mailing list. > > I'm working for my owner, who can be reached > at dev-ow...@flex.apache.org. > > To confirm that you would like > >ch...@moonfruit.com

Re: [FlexJS] Container work status

2017-03-20 Thread Peter Ent
Hi, I've fixed a number of layout issues. I'm still putting things together and testing, but this problem should be addressed in my next commit. ‹peter On 3/20/17, 3:26 AM, "yishayw" wrote: >I think some of your changes in BasicLayout have broken some layout >behavior

Re: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-20 Thread piotrz
Thanks Alex! I will proceed with Maven stuff and ask about that on PureMVC forum. It's still active. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-20 Thread Alex Harui
Hi Piotr, A FlexJS SWC has more contents than a regular Flex SWC. The FlexJS SWC contains transpiled JS files. So somebody will have to use FlexJS's workflow to build a PureMVC.swc for FlexJS. That SWC should be backward compatible with regular Flex projects assuming PureMVC has no

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-20 Thread Alex Harui
On 3/20/17, 12:00 AM, "Greg Dove" wrote: >I agree that 10 is wrong, but >reading both AS and JS doc, I'm now thinking that if the second argument >is missing that the compiler should use 0. +1. Let's use 0. Thanks for doing such a through investigation. -Alex

Re: [FlexJS] typeof X === 'undefined'

2017-03-20 Thread Alex Harui
On 3/20/17, 3:52 AM, "piotrz" wrote: >I think both cases can be handled by > >if (_responseHeaders) {} > >Need to be confirmed. IMO, that depends on whether null is a potential value with a separate code path. Also, in this case _responseHeaders is an Array, but if

Re: AW: AW: [FlexJS] flex-asjs build failing

2017-03-20 Thread yishayw
Here's [1] what -X flag shows. This [3] led my to download [2] place it under JAVA_HOME/lib/security, but that didn't help. [1] https://paste.apache.org/AMxg [2] http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html [3] https://paste.apache.org/CvJx -- View this

Re: [FlexJS] typeof X === 'undefined'

2017-03-20 Thread piotrz
I think both cases can be handled by if (_responseHeaders) {} Need to be confirmed. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-typeof-X-undefined-tp60577p60613.html Sent from the Apache

Re: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-20 Thread piotrz
Hi Justin, Thanks for the information. I think the path where we ask PureMVC for publish swc to maven central is the best. - I will go this path. It look like if I will have PureMVC.swc downloadable by build I don't need add any LICENSE to example - Am I understand correctly ? I think in this

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-20 Thread piotrz
I think it depends whether you will show me some scenario where it need it. I think some components you may never use as dynamic - you will always use it in mxml. I know that we have states where components even in mxml can be dynamically created, but I need to see such scenario to make them

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-20 Thread Justin Mclean
HI, > I agree that 10 is wrong I assume you mean as a default? Thanks, Justin

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-20 Thread Greg Dove
I agree that 10 is wrong, but reading both AS and JS doc, I'm now thinking that if the second argument is missing that the compiler should use 0. Please see the note in the comment of this ticket[1]: We need to decide whether we should add undefined as the second param (it seems this is the

Re: Nabble

2017-03-20 Thread yishayw
Clearing some cached files fixed it. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Nabble-tp60357p60608.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Container work status

2017-03-20 Thread yishayw
I think some of your changes in BasicLayout have broken some layout behavior on the JS side. In this [1] app the blue container ("myFlex") doesn't stretch to screen size. After debugging this behavior for quite a while I came to the conclusion that BasicLayout no longer calls

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-20 Thread sankar
piotrz wrote > I just introduce another bead which may be helpful for custom component, > but in most cases will be used inside MDL components UpgradeChildren. > > I've just make as default possible to create dynamically following > components: > Button, > RadioButton, > CheckBox, > TextArea, >

Re: [FlexJS] HTTP status text

2017-03-20 Thread Alex Harui
Sounds useful. What is the SWF equivalent? Would the same text show up in IOError or SecurityError? -Alex On 3/19/17, 2:32 AM, "Justin Mclean" wrote: >Hi, > >Perhaps an example will help showing this better. The server I’m talking >to gives: >Status Code:500 The