ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
package { /** * ... * @author lizhi */ public class A { public var b:B public function A() { } private function test():void {

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
is it the bug will be fixed?or not fiexd it forever? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ERROR-Circular-dependency-detected-A-B-A-tp51298p51299.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
if it will be fixed some day,i will wait it. or it can not be fiexd forever,i will changed my *.as now to deal with the bug. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ERROR-Circular-dependency-detected-A-B-A-tp51298p51300.html Sent from the Apache Fl

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
i just think ,the A class not need B ,when not call the test function test(). i just think the google lib not the best.the flexjs need replace the google lib,use other lib. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ERROR-Circular-dependency-detected-A

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
thanks -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ERROR-Circular-dependency-detected-A-B-A-tp51298p51302.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread Andy Dufilie
In the latest version, FalconJX does not remove circular dependencies by default. You must specify -remove-circulars when running the build command. On Jan 16, 2016 04:55, "lizhi" wrote: > package > { > /** > * ... > * @author lizhi > */ > public class A

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread lizhi
thanks.but how code ant? this code? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ERROR-Circular-dependency-detected-A-B-A-tp51298p51304.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: ERROR - Circular dependency detected: A -> B -> A

2016-01-16 Thread Alex Harui
On 1/16/16, 3:14 AM, "lizhi" wrote: >thanks.but how code ant? > > fork="true"> > > > >this code? Yes, assuming you are using the nightly builds. The problem is this: Because each .as file becomes its own .js file, the output needs to load each .js fi

Re: [FLEXJS] POC MXML "Live" Editing

2016-01-16 Thread Alex Harui
I made the change I suggested below and updated the fxp file at [1]. See if it makes things better for you. I think there is always the probability that at the moment the editor tries to save the file that the watcher will have the file locked to check its modification date, but that shouldn't lo

Re: FlexJS metadata / reflection

2016-01-16 Thread jude
If you do we can do some runtime live rendering without using a compiler. I'm doing that now for MXML using only metadata and doing it live for HTML markup. For MXML import there are two passes, one is to check for valid XML and if not valid return any errors, then if it is valid, we pass it to th

Re: FlexJS metadata / reflection

2016-01-16 Thread Alex Harui
I'm not sure I understood all of that, and it sounds interesting, but I'm not clear how you can "assemble" the code that glues the UI together at runtime without a compiler. For example, if I want to click on something to change from state A to state B, that is usually done in ActionScript. -Alex

Re: FlexJS metadata / reflection

2016-01-16 Thread jude
I'm talking about a live preview that's created from the MXML markup. It doesn't pay attention to any of the AS. The components are created on the fly from the XML. There would be no interaction. With your live coding example, you start coding and when you save you create a new swf. That swf is wa

Re: FlexJS metadata / reflection

2016-01-16 Thread Alex Harui
On 1/16/16, 10:55 PM, "jude" wrote: >I'm talking about a live preview that's created from the MXML markup. It >doesn't pay attention to any of the AS. The components are created on the >fly from the XML. There would be no interaction. > >With your live coding example, you start coding and when