JohnnyOpcode / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

Porting older code / How to rewrite HorizontalLineRepeater/VerticalLineRepeater #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Uh, that's actually no "defect" but I had no choice in templates.

It's rather an issue caused by major changes in the tree.
In an example app I found this code:

        <degrafa:GeometryGroup>

            <degrafa:HorizontalLineRepeater 
                count="{this.height/cellSize + 1}"
                stroke="{gridStroke}"
                x="0" y="0"
                x1="{this.width}"
                offsetX="0"
                offsetY="0"
                moveOffsetX="0"
                moveOffsetY="{cellSize}"/>

            <degrafa:VerticalLineRepeater   
                count="{this.width/cellSize + 1}"
                stroke="{gridStroke}"
                x="0" y="0"
                y1="{this.height}"
                offsetX="0"
                offsetY="0"
                moveOffsetX="{cellSize}"
                moveOffsetY="0" />

        </degrafa:GeometryGroup>

This does no longer work on latest Degrafa SWC version.
You could just tell me to use the SWC version before (e. g. beta 3.2) but trust 
me, I know why I can't. I have Flex 4 environment, and trust me again that the 
Flex 3 compatibility mode does NOT work - it only outputs graphics chaos, 
whilst the Flex 4 SWC works perfectly.

Except for the bit I have no idea to rewrite so that it work with latest SWC. 
Please help me.

Original issue reported on code.google.com by arbeitsl...@gmail.com on 12 Mar 2012 at 11:28