flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-35074) Wrong method used for setting XML attributes
Date Tue, 12 Apr 2016 17:45:26 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Harui resolved FLEX-35074.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Apache FalconJX 0.7.0

12b32476756adffee98a89c0efb65c03750e75aa

> Wrong method used for setting XML attributes
> --------------------------------------------
>
>                 Key: FLEX-35074
>                 URL: https://issues.apache.org/jira/browse/FLEX-35074
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>    Affects Versions: Apache FalconJX 0.6.0
>            Reporter: Harbs
>             Fix For: Apache FalconJX 0.7.0
>
>
> The following code:
> {code:actionscript}
> var rects:XMLList = svg..rect;
> rects[1].@width = "100px";
> {code}
> compiles into:
> {code:javascript}
>   var /** @type {XMLList} */ rects = svg.descendants('rect');
>   rects[1].attribute('width') = "100px";
> {code}
> It should be:
> {code:javascript}
>   var /** @type {XMLList} */ rects = svg.descendants('rect');
>   rects[1].setAttribute('width',"100px");
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message