flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ent (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35089) FlexJS Circle not drawn in proper location when x-compiled for JavaScript
Date Fri, 13 May 2016 16:58:13 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282870#comment-15282870
] 

Peter Ent commented on FLEX-35089:
----------------------------------

Fixed with commit ffcf66a. Each graphic element was having its original (x,y) position reset
to (0,0), or close it. Removed that code and objects are now positioned according to the position
values given.

> FlexJS Circle not drawn in proper location when x-compiled for JavaScript
> -------------------------------------------------------------------------
>
>                 Key: FLEX-35089
>                 URL: https://issues.apache.org/jira/browse/FLEX-35089
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.6.0
>            Reporter: Peter Ent
>            Assignee: Peter Ent
>
> <js:Circle x="200" y="200" radius="50">
>     <js:fill>
>         <js:SolidColor color="#FF0000" />
>     </js:fill>
> </js:Circle>
> The circle above should be drawn with its center at (200,200). This is true for the SWF
version but when x-compiled to JavaScript and run in a browser, the circle is centered at
(100,100). 



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

Mime
View raw message