Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
if the code not have class,just function will get this error? - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Lizhi, Maybe some part of your email got cut off. What source file and commands are you referring to? -Alex On 8/30/17, 10:03 PM, "lizhi" wrote: >Please download the source file from github and compile it with the >commands >I have provided. It should be very easy for you. Thank

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please download the source file from github and compile it with the commands I have provided. It should be very easy for you. Thank you - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
- spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
It would be helpful to have a smaller test case that shows that setTimeout continues to be a problem. -Alex On 8/30/17, 8:35 PM, "lizhi" wrote: >Please help me with the solution. What information do I need to provide? >The >company is in a hurry > > > >- >spriteflexjs.com >--

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please help me with the solution. What information do I need to provide? The company is in a hurry - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
pls download the code from the github.thanks - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Alex Harui
I think [1] is more about setting x,y. I think the current problem is getting x,y especially when position isn't set to absolute or relative. Now maybe this isn't an important problem because nobody writes code that reads x and y very often so having a getPositionInParent will be sufficient.

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
This [1] discussion touches on it. A PAYG approach might be to add PointUtils.getPositionInParent(uibase:UIBase) which would do the same thing PointUtils.localToGlobal() for element and parent and output the difference. [1]

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Harbs
Yeah. I’d guess it’s missing an import and is not using the js externs file. > On Aug 30, 2017, at 7:07 PM, Alex Harui wrote: > > Lizhi, > > Are you sure your flash.utils.setTimeout is being referenced by the code? > The console output didn't mention a

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Lizhi, Are you sure your flash.utils.setTimeout is being referenced by the code? The console output didn't mention a flash.utils.setTimeout. Maybe some other setTimeout is being referenced instead. -Alex On 8/30/17, 2:54 AM, "lizhi" wrote: >0.9 the newest > > > >-

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Alex Harui
Hopefully Peter will find a solution based on your input. But I think a problem still exists. The basic problem is how to find the x,y position of a child within its parent. I believe Peter is saying that the x and y getters in UIBase are not reporting correct values in many cases in the

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
I'm trying to draw a drop indicator above the row in the DataGrid where new data would be inserted if the user releases the mouse button at that point. The drop indicator is being drawn in a layer (added by a new bead) that is floating above the containing the DataGrid's column lists. As the

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
Strike that. I don’t see what you’re saying. Why not just use 0,0? Why do you need x,y? Or you could add w/2, h/2 if you want to center the drop target. Looking at PointUtils.localToGlobal() it just calls element.getBoundingClientRect() (as you suggested) and adds the given x,y to the result.

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
I see what you’re saying. I think we worked around that issue in our app by relying on MouseEvent.clientX, MouseEvent.clientY. But let’s hear other ideas for a more complete solution. From: Peter Ent Sent: Wednesday, August 30, 2017 4:48 PM To:

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
PointUtils works when it has the correct data. For example, if you are over an itemRenderer, say the first one, and want to get its global location, you might do: var pt0:Point = new Point(itemRenderer.x, itemRenderer.y) and use pt0 in PointUtils.localToGlobal function. The problem is,

Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-08-30 Thread Tom Chiverton
Exactly. This is not "all the Flex people walking away to do FlexJS". There will continue to be overlap (or not) as people scratch particular itches. Tom On 29/08/17 19:24, Kessler CTR Mark J wrote: There will still be quite a few PMC members on the Flex SDK side. Some will be on both

Re: FlexPMD Download Links not working

2017-08-30 Thread Justin Mclean
Hi, You can also use the Sonar Cube IntelliJ plug to show you issues without setting up Sonar Cube. Thanks, Justin

Re: FlexPMD Download Links not working

2017-08-30 Thread Justin Mclean
Hi, Sonar Cube is very easy to set up and run locally and reports issues on AS files. (It doesn't parse MXML files however.) You can see some results here [1] Thanks, Justin 1. https://builds.apache.org/analysis/overview?id=20942

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
0.9 the newest - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: FlexPMD Download Links not working

2017-08-30 Thread Piotr Zarzycki
Hi Mano, I was using FlexPDM a long ago and find out that most of good rules are build in JetBrains Intellij IDE out of the box. Thanks, Piotr 2017-08-30 11:46 GMT+02:00 Manohar Jeyaraj : > Hi All, > > Is there any working link to download FlexPMD ant files?? > It seems the

FlexPMD Download Links not working

2017-08-30 Thread Manohar Jeyaraj
Hi All, Is there any working link to download FlexPMD ant files?? It seems the below mentioned link has been broken https://sourceforge.net/adobe/flexpmd/wiki/Downloads/ Not able to download when we click zip file to download. Kindly let me know is there any alternative tools or solution to

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Harbs
What version of the compiler are you using? > On Aug 30, 2017, at 10:04 AM, lizhi wrote: > > https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as > > > > - > spriteflexjs.com > -- > Sent from:

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Alex Harui-2 wrote > Hmm. Somehow the output thinks that setTimeout is not a native function > and is looking for a file to match it. How is setTimeout being used in > your code? > > I am done working for today. Will check tomorrow. > > -Alex > > On 8/29/17, 10:47 PM, "lizhi" > sliz@ >

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
Peter, Is PointUtils.localToGlobal() not working for you? From what I understand it takes approach (1). From: Peter Ent Sent: Tuesday, August 29, 2017 11:29 PM To: dev@flex.apache.org Subject: [FlexJS] Finding (x,y) position Hi, While

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Hmm. Somehow the output thinks that setTimeout is not a native function and is looking for a file to match it. How is setTimeout being used in your code? I am done working for today. Will check tomorrow. -Alex On 8/29/17, 10:47 PM, "lizhi" wrote: > > > >Alex Harui-2 wrote >>