Re: [compc] error #3

2017-03-07 Thread Josh Tynjala
Have you tried xml["@class"] instead? - Josh On Tue, Mar 7, 2017 at 3:19 AM, Harbs wrote: > Related: > > This produces an error: Syntax error: ‘class’ is not allowed here. > xml.@class = elem.styleName; > > and the following gets a null pointer: > xml.@["class"] = elem.styleName; > > That doesn

Re: [compc] error #3

2017-03-07 Thread Harbs
Related: This produces an error: Syntax error: ‘class’ is not allowed here. xml.@class = elem.styleName; and the following gets a null pointer: xml.@["class"] = elem.styleName; That doesn’t leave many options for assigning a “class” attribute to XML.. ;-) > On Mar 7, 2017, at 1:09 PM, Harbs wr

Re: [compc] error #3

2017-03-07 Thread Harbs
Bingo. This is causing an error: var version:String = xmlToParse.@["version”]; Changing it to the following works: var version:String = xmlToParse.@version; > On Mar 6, 2017, at 9:31 PM, Alex Harui wrote: > > Ah, after, digging deeper, it is the @ operator in XML. And some bugs > around that

Re: [compc] error #3

2017-03-06 Thread Alex Harui
Have you pulled down the dual branch from flex-falcon and built it? I would do wipe-all then "all". The dual capability is mostly compiler stuff. The build did complete, so you should be able to use the Installer to try it. Thanks, -Alex On 3/6/17, 2:02 PM, "Harbs" wrote: >I’m done for the d

Re: [compc] error #3

2017-03-06 Thread Harbs
I’m done for the day. I’m getting the following error with dual: check-compiler: [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. compile: [echo] Compiling libs/Language.swc [echo] FLEX_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs

Re: [compc] error #3

2017-03-06 Thread Alex Harui
It might occur in more than one file. I'd say this one is in InlineGraphicElement. -Alex On 3/6/17, 11:31 AM, "Harbs" wrote: >I can’t even figure out which class is causing the issue. > >I thought it was TextLayoutImporter, but even after converting the class >to a skeleton, I’m getting the er

Re: [compc] error #3

2017-03-06 Thread Harbs
I can’t even figure out which class is causing the issue. I thought it was TextLayoutImporter, but even after converting the class to a skeleton, I’m getting the error: [java] Compiling file: org.apache.flex.textLayout.events.DamageEvent [java] Writing file: js/out/org/apache/flex/tex

Re: [compc] error #3

2017-03-06 Thread Alex Harui
Ah, after, digging deeper, it is the @ operator in XML. And some bugs around that were also fixed in Dual. I think you can try dual now. It is only failing on checkintests and I just pushed the fix for that. If you wait about 30 minutes, and you see the build passes email, you can try getting d

Re: [compc] error #3

2017-03-06 Thread Harbs
I can’t find anything like that. Still looking… > On Mar 6, 2017, at 8:21 PM, Alex Harui wrote: > > Looks like there is a unary operator that isn't expected. Is there an > "at" operator in AS? > > -Alex > > On 3/6/17, 10:06 AM, "Harbs" wrote: > >> I eliminated my compilation errors, but I’m

Re: [compc] error #3

2017-03-06 Thread Alex Harui
Looks like there is a unary operator that isn't expected. Is there an "at" operator in AS? -Alex On 3/6/17, 10:06 AM, "Harbs" wrote: >I eliminated my compilation errors, but I’m having trouble outputting my >swc. > >AFAICT compile-asjs-swc is working correctly. I get a swc with the >library.sw

[compc] error #3

2017-03-06 Thread Harbs
I eliminated my compilation errors, but I’m having trouble outputting my swc. AFAICT compile-asjs-swc is working correctly. I get a swc with the library.swf and catalog.xml which at first glance has all the classes. However, I’m getting weird results from compile-asjs. Instead of the js files b