Re: AMFPHP support for FlexJS

2016-10-27 Thread Greg Dove
As Alex mentioned, I think things should be ready to support AMF (and/or potential other serialization/deserialization approaches) via Reflection. I already added support for registerClassAlias, getClassByAlias, and (new) getAliasByClass,in the reflection package - note that I did not put these i

Re: AMFPHP support for FlexJS

2016-10-27 Thread Fréderic Cox
I have to disagree with Olaf here. In our company the entire backend is using AMFPHP. Changing that to JSON and changing the frontend code as well is not a viable option. If AMFPHP works in FlexJS there would not be any changed required on both ends. Just making a point here that use cases indee

Re: Problems with the Installer

2016-10-27 Thread OK
Alex Harui wrote > OK, pushed a fix. New nightly build should be available in about 45 > minutes. Works, thanks Alex! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Problems-with-the-Installer-tp56020p56090.html Sent from the Apache Flex Developmen

Re: Setting source to external CSS does not work

2016-10-27 Thread Alex Harui
On 10/27/16, 11:55 AM, "Fréderic Cox" wrote: > >and I would now like to style it using our company's main website >(replaced >it with {companyDomain}.com for this thread). I tried: > >https://www.static. >{companyDomain}.com/styles/master-v2.2-99371.css" /> > >but then I get the following error

Setting source to external CSS does not work

2016-10-27 Thread Fréderic Cox
I am creating my first projects in Flex 0.7.0 tonight. I must say the installation guidelines from the WIKI are very clear and I was set-up very quickly. I encountered a first "issue", is it the right place to report/ask about it here? Or should I use something like stackoverflow for my questions

Re: AMFPHP support for FlexJS

2016-10-27 Thread OK
Hey Carlos, Carlos Rovira wrote > Hi Olaf, I think is more about efficiency and optimization. AMF is binary, > more compacted and faster that any other method I known out there. Yes, Flex/AMF is definately faster and I remember the discussions years ago about AMF regarding performance. But even

Re: AMFPHP support for FlexJS

2016-10-27 Thread PKumar
I am digging in to AMFJS and tested it with AMFPHP & Blazeds. Currently i am trying to use AMFJS functions in FlexJS side. I am also looking the FlexSDK RemoteObject implementation and registerclassAlias implementation, so that i can get more information on this. -- View this message in contex

Re: AMFPHP support for FlexJS

2016-10-27 Thread Alex Harui
On 10/27/16, 8:44 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Olaf, I think is more about efficiency and optimization. AMF is binary, >more compacted and faster that any other method I known out there. in >terms >of usability is as well more easy to work with. > >I'm afr

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread Alex Harui
On 10/27/16, 9:09 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I like the Yishayw concept os adding beads in CSS. Don't know about the >runtime cost of this, but it would allow users to configure if they want >this or those beads for their use. If you add in the

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Alex Harui
On 10/27/16, 12:56 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >don't know how you plan to do this, but seems an important refactor and >lots of files included. >I suggest to do this in an "integration" branch to manage all posible >colateral issues generated. And the

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread Carlos Rovira
Hi Alex, I like the Yishayw concept os adding beads in CSS. Don't know about the runtime cost of this, but it would allow users to configure if they want this or those beads for their use. If you add in the component, all is done there and people can't change it. Maybe you're the person to decide

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Alex Harui
On 10/27/16, 12:15 AM, "Harbs" wrote: >I had an idea last night: > >Instead of having two different namespaces for wrapped and unwrapped >components, what about making it a compiler option? Actually, it appears that we can have two SWCs with the same namespaces. The most recently compiled one

Re: AMFPHP support for FlexJS

2016-10-27 Thread Carlos Rovira
Hi Olaf, I think is more about efficiency and optimization. AMF is binary, more compacted and faster that any other method I known out there. in terms of usability is as well more easy to work with. I'm afraid that AMF could not be successful as JSON maybe due to people not know about the openness

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread Alex Harui
On 10/27/16, 12:48 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Thanks, > >I was not thinking this from that point of view. Maybe in MDL has sense to >include majority of beads since it's a concrete implementation of visuals: >Material Design Lite >But don't know if we could

Re: CSSUtils.toColorWithAlpha

2016-10-27 Thread Alex Harui
On 10/27/16, 1:32 AM, "Harbs" wrote: >Alex, I think this question is for you since I think you wrote the code >last July. > >The handling of rgba seems odd to me: > >else if ((c = stringValue.indexOf("rgba(")) != -1) >{ >c2 = stringValue.indexOf(")"); >

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread Alex Harui
On 10/27/16, 4:39 AM, "yishayw" wrote: >Regarding verboseness, maybe we could have a new css property such as >'additionalBeads' which IStrand implementers look for and create? > >That keeps mxml compact with PAYG and flexibility. Possible, but I'm not sure that is worth the instance initializ

Re: [FlexJS] DoubleClickEnabledBead ?

2016-10-27 Thread Alex Harui
On 10/26/16, 11:58 PM, "yishayw" wrote: > >I was thinking that in general it could be nice to have an example of >suppressing certain events in beads. The scenarios would be very similar >to >scenarios that require disabling all mouse events, which is what >DisabledBead currently does. Sometimes

Re: AW: [Website] gitpubsub working and NG-Website online

2016-10-27 Thread Alex Harui
Hi Chris, Congratulations on becoming a member of Infra, and thanks for pushing this effort forward. -Alex On 10/27/16, 12:22 AM, "Christofer Dutz" wrote: >Hi Harbs, > > >well the news section is the same way on the current site. I don't think >using a scrollable diff would be a good option. I

[FLEXJS] Colors (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Alex Harui
On 10/26/16, 11:59 PM, "Harbs" wrote: >There’s also an issue that Flash uses ARGB, while the default in browsers >seems to be RGBA. > >I think simply avoiding uint representations of RGBA is the simplest >solution… Not quite sure what you mean by that. Are you suggesting that we add an RGB an

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
yishayw wrote > how do you re-enable a bead should read yishayw wrote > how do you re-enable a strand -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-When-to-Bead-was-Re-FlexJS-enabled-property-tp56044p56073.html Sent from the Apache Flex Develo

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
Carlos, I had a look at Disable (I like the short name). 2 Questions: the swf side isn't implemented, is that by design? Also, how do you re-enable a bead that's been disabled? Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-When-to-Bead-was-

AW: [Website] gitpubsub working and NG-Website online

2016-10-27 Thread Christofer Dutz
Ok ... so now the team page has equally sized circular pictures and the "what is flex" page is readable. Chris Von: Christofer Dutz Gesendet: Donnerstag, 27. Oktober 2016 09:22:08 An: dev@flex.apache.org Betreff: AW: [Website] gitpubsub working and NG-Website o

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
Regarding verboseness, maybe we could have a new css property such as 'additionalBeads' which IStrand implementers look for and create? That keeps mxml compact with PAYG and flexibility. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-When-to-Bead-

Re: AMFPHP support for FlexJS

2016-10-27 Thread OK
There's a thread in the users list which might anser some your questions [1]. >From my perception REST with JSON is become some kind of de facto standard these days. Even if AMF is maybe technically the better choice, in times of API driven design it might be also important to provide reusable AP

Re: AMFPHP support for FlexJS

2016-10-27 Thread Carlos Rovira
Hi Fréderic, thanks for joining :) AMF is currently not supported, but it was discussed several times in the list. Many of us agree that AMF is currently the best communication protocol out there (I even don't understand the JSON success taking into account AMF is open source specification and wa

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Carlos Rovira
Ok, As a base thinking, and taking into account I didn't gave the cycles you all invested in it, I should notice that FlexJS is not Flash anymore. Is something that could output various things. One of them are SWF, and other is HTML, but we could output more some day. Maybe even FlexJS is not an a

AMFPHP support for FlexJS

2016-10-27 Thread Fréderic Cox
Hi, I have been following this list for quite a while now. Thanks to Carlos his MDL efforts and post on Twitter I am considering to start working with FlexJS in the coming days. I am reading the FAQ's and hope to get everything set-up soon but there is one big feature I used a lot in all my proje

CSSUtils.toColorWithAlpha

2016-10-27 Thread Harbs
Alex, I think this question is for you since I think you wrote the code last July. The handling of rgba seems odd to me: else if ((c = stringValue.indexOf("rgba(")) != -1) { c2 = stringValue.indexOf(")"); stringValue = stringValue.substring

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Harbs
Hi Carlos, The refactor was already done, and I’ve been working off the sprite-refactor branch for a few months already. I’ve been regularly merging the changes from develop into that branch. There is however, a lot of work done on the sprite-refactor branch which has not made it into develop.

Re: MDL Tweet

2016-10-27 Thread OK
Great progress Carlos, thanks to make it happen!!! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/MDL-Tweet-tp56042p56064.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Carlos Rovira
Hi, don't know how you plan to do this, but seems an important refactor and lots of files included. I suggest to do this in an "integration" branch to manage all posible colateral issues generated. And then as adjusted merge with develop. As well, I came to the discussion too much late so I don't

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread Carlos Rovira
Thanks, I was not thinking this from that point of view. Maybe in MDL has sense to include majority of beads since it's a concrete implementation of visuals: Material Design Lite But don't know if we could have a base control (ButtonBase...for example but doesn't like too much that name) and then

Re: MDL Tweet

2016-10-27 Thread Carlos Rovira
Thanks Om! :) 2016-10-27 0:30 GMT+02:00 OmPrakash Muppirala : > Done! > > On Wed, Oct 26, 2016 at 2:29 PM, Carlos Rovira > wrote: > > > Please, retweet to make some noise out there! :) > > > > https://twitter.com/carlosrovira/status/791379921746690049 > > > > > > -- > > Carlos Rovira > > http://

AW: [Website] gitpubsub working and NG-Website online

2016-10-27 Thread Christofer Dutz
Hi Harbs, well the news section is the same way on the current site. I don't think using a scrollable diff would be a good option. If you resize the website it adjusts to that and at a certain width it jumps to a one-column style. Having a scrollable div would make it hard for mobile users to

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Harbs
There’s also differences related to events and the like, but we can add blocks for that as well. On Oct 27, 2016, at 10:15 AM, Harbs wrote: > I had an idea last night: > > Instead of having two different namespaces for wrapped and unwrapped > components, what about making it a compiler option

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-27 Thread Harbs
I had an idea last night: Instead of having two different namespaces for wrapped and unwrapped components, what about making it a compiler option? The primary difference between the two is: 1. The base class is different. 2. References in platform-specific code to the platform-specific implement

Re: [FlexJS] DoubleClickEnabledBead ?

2016-10-27 Thread yishayw
Alex Harui wrote > On 10/26/16, 11:07 PM, "yishayw" < > yishayjobs@ > > wrote: > >>In flash doubleClick events are not dispatched unless >>InterActiveObject.doubleClickEnabled is set to true. In HTML there's no >>such >>property and dblclick is always dispatched. We'd like add >>doubleClickEnabl

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-27 Thread Alex Harui
On 10/26/16, 11:51 PM, "Harbs" wrote: >I don’t need it now that we changed our code. I added the check because I >thought other might be bitten by the same issue. > >If we remove the check, I’m not going to add another class. I do envision "debug-mode" beads and classes that do parameter/value

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-27 Thread Harbs
There’s also an issue that Flash uses ARGB, while the default in browsers seems to be RGBA. I think simply avoiding uint representations of RGBA is the simplest solution… On Oct 27, 2016, at 9:43 AM, Alex Harui wrote: >> This code works in Flash because it supports argb. I took the easy way >>