Drawing poly lines with Path API (Was: Re: [FlexJS] Drawing API)

2014-09-10 Thread OmPrakash Muppirala
On Mon, Sep 8, 2014 at 1:59 PM, Peter Ent p...@adobe.com wrote: Which brings me to the next issue. When drawing a series of connected lines (for the LineChart), the first and last points are getting connected, which I do not want. My loop to build the path looks like this, below. point[0] !=

Flash freeze for 60 seconds in Chrome

2014-09-10 Thread piotrz
Hi Guys, I am working on some Adobe Flex (v. 4.5.0) application (it using a lot of javascript also through ExternalInterface) and from some time we are noticing freeze of these application for 60 seconds in Google Chrome with default Flash Player plugin. I spend some time to optimize some logic

Re: Flash freeze for 60 seconds in Chrome

2014-09-10 Thread Avi Kessner
For my day to day browsing, I try to use the debug player in chrome, because I find it's performance is much better. There seems to be some restrictions with the Pepper Flash api on what resources it can access vs NPAPI. It's worth the time to isolate if it's a flash player version problem or a

Re: Flash freeze for 60 seconds in Chrome

2014-09-10 Thread João Fernandes
You could try to install the regular flash player (non debug) in chrome and disable the default bundled with it. On 10 September 2014 09:59, Avi Kessner akess...@gmail.com wrote: For my day to day browsing, I try to use the debug player in chrome, because I find it's performance is much

Re: Flash freeze for 60 seconds in Chrome

2014-09-10 Thread piotrz
@João you mean just use regular flash player ? - This doesn't occur so far in the regular flash player. @Avi that's why I wrote on the dev list, because from that point where I'm now I'm still not sure whether this is Flash Player problem. Piotr - Apache Flex Committer

Re: Flash freeze for 60 seconds in Chrome

2014-09-10 Thread Avi Kessner
If it happens in one player but not the other it's a player problem :) On Sep 10, 2014 1:11 PM, piotrz piotrzarzyck...@gmail.com wrote: @João you mean just use regular flash player ? - This doesn't occur so far in the regular flash player. @Avi that's why I wrote on the dev list, because

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
I ran FlexJSTest_SVG without any issues from Flash Builder. I will look to see how each of these graphics elements are being used. Thanks, Peter Ent Adobe Systems On 9/9/14 8:47 PM, OmPrakash Muppirala bigosma...@gmail.com wrote: On Tue, Sep 9, 2014 at 2:26 PM, Peter Ent p...@adobe.com wrote:

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
I made a small modification to FlexJSTest_SVG: var path2:Path = new Path(); fill.color = 0x00FF00; fill.alpha = 0.5; // path2.fill = fill; stroke.color = 0xFF00FF;

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
That last message was for the ActionScript side. When I build the sample in JavaScript - with my change to remove the fill on path2, I get this runtime error: TypeError: this.get_fill(...) is null var color = Number(this.get_fill().get_color()).toString(16); Here is the code from

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread OmPrakash Muppirala
On Sep 10, 2014 7:12 AM, Peter Ent p...@adobe.com wrote: That last message was for the ActionScript side. When I build the sample in JavaScript - with my change to remove the fill on path2, I get this runtime error: TypeError: this.get_fill(...) is null var color =

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread OmPrakash Muppirala
On Sep 10, 2014 7:07 AM, Peter Ent p...@adobe.com wrote: I made a small modification to FlexJSTest_SVG: var path2:Path = new Path(); fill.color = 0x00FF00; fill.alpha = 0.5; // path2.fill = fill;

Alex's Legal Mental Model (was Re: [FlexJS] Drawing API)

2014-09-10 Thread Alex Harui
Apologies for not changing the subject sooner. I want to try to clear up some things in case someone actually does try to create a wiki page from these emails. Comments in-line... On 9/9/14 2:53 PM, Justin Mclean jus...@classsoftware.com wrote: Hi, -Every line of code was written by

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
I have the latest code; I didn't install it into my Apache FlexJS deployment. That last step always gets me. I did more research on Path and discovered that the presence of the Z is making the path closed (I thought a path string MUST end with a Z), so I believe I can proceed with converting the

Re: [FlexJS] Drawing API

2014-09-10 Thread jude
FYI according to the article I linked to here [1] it is possible to improve the rendering quality of vectors on the stage. I thought the article I linked to was a different article posted by Thimbault about drawWithQuality(). That means that documentation here [2] appears to be incorrect or out of

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
More details emerged: On the JS side, I had created ChartDataGroup to hold the chart graphics. Since this was going to be SVG, I had ChartDataGroup create an SVG element. All of the itemRenderers I created simply added SVG graphics to this svg element. Switching to Om's core/graphics library

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread OmPrakash Muppirala
On Wed, Sep 10, 2014 at 1:21 PM, Peter Ent p...@adobe.com wrote: More details emerged: On the JS side, I had created ChartDataGroup to hold the chart graphics. Since this was going to be SVG, I had ChartDataGroup create an SVG element. All of the itemRenderers I created simply added SVG

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread Peter Ent
The one major change I had to make (aside from removing the Z from my LineChart path) was when the core/graphics element was added to its parent. I was creating the element (e.g., Rect), setting its properties, and then adding it as an element to the ChartDataGroup. This was fine on AS, but on

Re: [FlexJS] Path API bug (Was Re: [FlexJS] Drawing API)

2014-09-10 Thread OmPrakash Muppirala
On Wed, Sep 10, 2014 at 7:45 AM, OmPrakash Muppirala bigosma...@gmail.com wrote: On Sep 10, 2014 7:07 AM, Peter Ent p...@adobe.com wrote: I made a small modification to FlexJSTest_SVG: var path2:Path = new Path(); fill.color = 0x00FF00;

Re: [FlexJS] Drawing API

2014-09-10 Thread OmPrakash Muppirala
On Wed, Sep 10, 2014 at 12:54 PM, jude flexcapaci...@gmail.com wrote: FYI according to the article I linked to here [1] it is possible to improve the rendering quality of vectors on the stage. I thought the article I linked to was a different article posted by Thimbault about

Re: Build failed in Jenkins: MD5Checker #91

2014-09-10 Thread Justin Mclean
Hi, Why did this fail? the MD5s look the same to me. Thanks, Justin On 11 Sep 2014, at 11:30 am, flex.ci.bui...@gmail.com wrote: See http://apacheflexbuild.cloudapp.net:8080/job/MD5Checker/91/ -- Started by timer Building remotely on

Tour De Flex minor issues

2014-09-10 Thread Justin Mclean
Hi When using 4.13 release the PostCodeValidator the spark alert box gives as error and with the SDK locale example the new locales don't seem to be included. Running these as standalone projects works fine. The ant task to the postcode example is very simple: mxmlc

Re: Build failed in Jenkins: MD5Checker #91

2014-09-10 Thread Alex Harui
Cuz it wants to record the cacheID so it doesn't have to keep downloading it. I'll update it. On 9/10/14 6:34 PM, Justin Mclean jus...@classsoftware.com wrote: Hi, Why did this fail? the MD5s look the same to me. Thanks, Justin On 11 Sep 2014, at 11:30 am, flex.ci.bui...@gmail.com wrote:

Re: Tour De Flex minor issues

2014-09-10 Thread Alex Harui
On 9/10/14 7:47 PM, Justin Mclean jus...@classsoftware.com wrote: Hi When using 4.13 release the PostCodeValidator the spark alert box gives as error Are you saying it works with other SDK versions? I was able to get an error about the Alert skin missing. That's usually a