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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo