Repository: flex-asjs
Updated Branches:
  refs/heads/svg-rename a3b297b51 -> 26606c884


Adjusted to test for stroke properties


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/26606c88
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/26606c88
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/26606c88

Branch: refs/heads/svg-rename
Commit: 26606c88471f5890dc63c9e0c1dbb566b4808250
Parents: a3b297b
Author: Harbs <[email protected]>
Authored: Sun Jul 24 22:00:45 2016 +0300
Committer: Harbs <[email protected]>
Committed: Sun Jul 24 22:00:45 2016 +0300

----------------------------------------------------------------------
 manualtests/FlexJSTest_SVG/src/SkinsView.mxml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26606c88/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/FlexJSTest_SVG/src/SkinsView.mxml 
b/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
index 15a4400..9140b31 100644
--- a/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
+++ b/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
@@ -19,7 +19,7 @@ limitations under the License.
 -->
 <js:View xmlns:fx="http://ns.adobe.com/mxml/2009";
                                xmlns:js="library://ns.apache.org/flexjs/basic" 
xmlns:skins="skins.*" xmlns:mx="library://ns.adobe.com/flex/mx"
-                               
initComplete="viewbase1_initCompleteHandler(event)" >
+                               
initComplete="viewbase1_initCompleteHandler(event)">
        <fx:Script>
                <![CDATA[
                        import org.apache.flex.svg.Rect;
@@ -50,12 +50,15 @@ limitations under the License.
                        private function 
handleMouseOver(event:org.apache.flex.events.MouseEvent):void
                        {
                                currentState = "over";
+                               // This will cause the stroke to appear on the 
second hover
+                               //fill_over.stroke.lineDash = dashArray;
                        }
                        
                        private function 
handleMouseOut(event:org.apache.flex.events.MouseEvent):void
                        {
                                currentState = "up";
                        }
+                       [Bindable]private var dashArray:Array = [2,4,6,8];
                        
                ]]>
        </fx:Script>
@@ -82,7 +85,7 @@ limitations under the License.
                
                <js:Rect id="fill_over" width="100" height="30" 
includeIn="over">
                        <js:stroke>
-                               <js:SolidColorStroke alpha="1.0" 
color="#000000" />
+                               <js:SolidColorStroke alpha="1.0" 
color="#000000" lineDash="{dashArray}" weight="5" lineJoin="round"/>
                        </js:stroke>
                        <js:fill>
                                <js:SolidColor color="#48C9B0" alpha="1.0" />

Reply via email to