Re: [FlexJS] Flash Only Beads

2016-12-07 Thread yishayw
Looking at the code and the documentation of SolidBackgroundBead again, I don't know where I got the idea that styling won't work in flash. My only remaining question is why it's in flat-manifest.xml. If we remove it users won't use it in MXML, as they shouldn't. -- View this message in context:

Re: [FlexJS] Flash Only Beads

2016-12-07 Thread yishayw
I was using it for a rect although we do have a dedicated component I could have used instead. What Peter wrote makes sense but the documentation led me to think styling only works in JS. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Flash-Only-Bea

Re: git commit: [flex-asjs] [refs/heads/develop] - Fix for bug FLEX-35201: TileLayout not working. Fixed the JS side by having it use flex-box display.

2016-12-07 Thread Alex Harui
Hmm. In my mind, TileLayout is different from flex-box. For a display of a month of a calendar, with fixed sizes on the day labels, if I set the width of the container to be something really wide, if I have set numColumns=7, I would expect that there would be 7 days displayed with lots of whitesp

Re: Shared CSS Color name as constant between multiple applications

2016-12-07 Thread OmPrakash Muppirala
Maybe something like: Shared CSS: .myStyle { colorName: 'red'; } Application creation complete: var c:CSSStyleDeclaration = this.styleManager.getStyleDeclaration(".myStyle"); var myColor:String = c.getStyle("colorName"); Alert.show('MyColor: ' + myColor); You could also set a hex value for c

Re: [FlexJS] About Flash output

2016-12-07 Thread Carlos Rovira
Hi Alex IMO, the problem with Flex mobile performance isn't > the display list, it is the rest of the code that has to run before the > display list gets updated. Most mobile apps I've seen don't need 3D > rendering. Everything is flat 2D UI. The FlexJS SWF code is much lighter > weight than

Re: [FlexJS] About Flash output

2016-12-07 Thread Alex Harui
On 12/7/16, 9:07 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >IMHO this is a mistake for the following reason. I commented on this in >other thread: > >Nowadays SWF is not what it was some years ago. All we know this. We can't >sell a Flex app as we did back in 2

Re: [FlexJS] About Flash output

2016-12-07 Thread Carlos Rovira
Hi Alex, IMHO this is a mistake for the following reason. I commented on this in other thread: Nowadays SWF is not what it was some years ago. All we know this. We can't sell a Flex app as we did back in 2006, but FlexJS has a great potential in the way we're building it. One reason is that we ma

Re: [FlexJS] About Flash output

2016-12-07 Thread Alex Harui
On 12/7/16, 7:30 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >as I'm focused on MDL and HTML output, I don't know much about SWF output. >IMHO, flash output could be very important if is stage3d based, so be as >performant as possible (as we could get with featherUI n

Re: [FlexJS|Image] Missing properties in created Image

2016-12-07 Thread Alex Harui
On 12/7/16, 7:26 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, Right now MDL is JS only, but I think one day we could make a Flash >version, for that reason I think we should develop with that in mind. Well, in the rest of the code, we generally try to make the JS output

Re: Shared CSS Color name as constant between multiple applications

2016-12-07 Thread Alex Harui
On 12/7/16, 5:28 AM, "Ghazi Triki" wrote: >Hello, > >Is there any way to define a colour name as variable in CSS? I think it depends. How are you using it? In MXML or AS? The compiler might already have a list of known color names that is less easy to extend. -Alex

Re: [FlexJS] Flash Only Beads

2016-12-07 Thread Alex Harui
On 12/7/16, 7:34 AM, "Peter Ent" wrote: >I believe the original intent was that beads like SolidBackgroundBead and >SingleLineBorderBead weren't going to be "exposed" for use by developers. >Rather, they support CSS background-color and border styles for the SWF >side. For example, if you have

Re: [FlexJS] Flash Only Beads

2016-12-07 Thread Peter Ent
I believe the original intent was that beads like SolidBackgroundBead and SingleLineBorderBead weren't going to be "exposed" for use by developers. Rather, they support CSS background-color and border styles for the SWF side. For example, if you have a Container and give it those styles, FlexJS aut

[FlexJS] About Flash output

2016-12-07 Thread Carlos Rovira
Hi, as I'm focused on MDL and HTML output, I don't know much about SWF output. IMHO, flash output could be very important if is stage3d based, so be as performant as possible (as we could get with featherUI nowadays) So, I want to ask if flash swf otutput is developed with that in mind and if is

Re: [FlexJS|Image] Missing properties in created Image

2016-12-07 Thread Carlos Rovira
Hi, Right now MDL is JS only, but I think one day we could make a Flash version, for that reason I think we should develop with that in mind. just my 2 thanks 2016-12-07 7:26 GMT+01:00 piotrz : > Thanks Alex. I will use HTMLImageElement. > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck.

Shared CSS Color name as constant between multiple applications

2016-12-07 Thread Ghazi Triki
Hello, Is there any way to define a colour name as variable in CSS? I want to avoid "PropertyReference" as the style or theme will be shared between multiple applications. I tried using styleManager.registerColorName at the application preinitialize but it does not reload color definitions and ma

RE: [FlexJS] Flash Only Beads

2016-12-07 Thread piotrz
Ohh... Yes! I didn't understand you. I think we should always have both platformfs covered if it's only possible. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Flash-Only-Beads-tp57049p57054.ht

Re: [FlexJS] Slider valueChange not working

2016-12-07 Thread Carlos Rovira
Ok Peter, thanks, I test the effects, and seems all is working as I left. Now that Slider is working I'll take a look and try to make the events work in the component. I'll report If I find something blocking. Thanks! 2016-12-06 20:19 GMT+01:00 Peter Ent : > I've committed and pushed changes to

RE: [FlexJS] Flash Only Beads

2016-12-07 Thread Yishay Weiss
I agree. I just think it’s better to have the same source compile to flash and HTML, if only for testing purposes. Right now, if you use SolidBackgroundBead in your app it’ll compile for flash but not for HTML. We currently have a problem in our app that only manifests in HTML. It would be good

Re: git commit: [flex-asjs] [refs/heads/develop] - MDL Tooltip

2016-12-07 Thread Carlos Rovira
Hi Piotr, I review and I think is ok :) Although, I think, we'll need to start taking into account interaction so when people change a property in the component things change accordingly. Right now we are focusing on structure, both in AS3/MXML and the JS output, and many components will need a se

Re: [FlexJS] Flash Only Beads

2016-12-07 Thread piotrz
Hi Yishay, I think Flash is still live on mobile. If I wanted to write mobile application I will choose flash - FlexJS, Flex - package it to Adobe Air. If don't have to I will not fight with JS in browser. But it is my preferences. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View