quick fix to get compiling and something displaying

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

Branch: refs/heads/feature/dragAndDrop
Commit: a1f60d1603d87419a04bd388dca4d2a542b41462
Parents: 629949e
Author: greg-dove <[email protected]>
Authored: Tue Aug 22 08:19:18 2017 +1200
Committer: greg-dove <[email protected]>
Committed: Tue Aug 22 08:19:18 2017 +1200

----------------------------------------------------------------------
 manualtests/FlexJSTest_SVG/src/SkinsView.mxml | 57 ++++++++++++----------
 1 file changed, 30 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1f60d16/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/FlexJSTest_SVG/src/SkinsView.mxml 
b/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
index e1a95d3..e0a6f65 100644
--- a/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
+++ b/manualtests/FlexJSTest_SVG/src/SkinsView.mxml
@@ -18,7 +18,10 @@ 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"
+                               xmlns:js="library://ns.apache.org/flexjs/basic" 
+                               xmlns:svg="org.apache.flex.svg.*"
+                               xmlns:graphics="org.apache.flex.graphics.*" 
+                               xmlns:skins="skins.*" 
xmlns:mx="library://ns.adobe.com/flex/mx"
                                
initComplete="viewbase1_initCompleteHandler(event)">
        <fx:Script>
                <![CDATA[
@@ -71,35 +74,35 @@ limitations under the License.
        <!--<js:beads>
                <js:ViewDataBinding />
        </js:beads>-->
-       <js:Container x="0" y="0" >
-               <js:Label text="MyButton" x="20" y="10" 
includeIn="{[up,down,over,disabled]}" selectable="true"/>
+       <js:Container x="0" y="0" width="500" height="500">
+               <js:Label text="MyButton" x="20" y="10" 
includeIn="{[up,down,over,disabled]}" />
                
-               <js:Rect id="fill_up" width="100" height="30" includeIn="up" >
-                       <js:stroke>
-                               <js:SolidColorStroke alpha="1.0" 
color="#000000" />
-                       </js:stroke>
-                       <js:fill>
-                               <js:SolidColor color="#1ABC9C" alpha="1.0" />
-                       </js:fill>
-               </js:Rect>
+               <svg:Rect id="fill_up" width="100" height="30" includeIn="up" >
+                       <svg:stroke>
+                               <graphics:SolidColorStroke alpha="1.0" 
color="#000000" />
+                       </svg:stroke>
+                       <svg:fill>
+                               <graphics:SolidColor color="#1ABC9C" 
alpha="1.0" />
+                       </svg:fill>
+               </svg:Rect>
                
-               <js:Rect id="fill_over" width="100" height="30" 
includeIn="over">
-                       <js:stroke>
-                               <js:SolidColorStroke alpha="1.0" 
color="#000000" lineDash="{dashArray}" weight="5" lineJoin="round"/>
-                       </js:stroke>
-                       <js:fill>
-                               <js:SolidColor color="#48C9B0" alpha="1.0" />
-                       </js:fill>
-               </js:Rect>
+               <svg:Rect id="fill_over" width="100" height="30" 
includeIn="over">
+                       <svg:stroke>
+                               <graphics:SolidColorStroke alpha="1.0" 
color="#000000" lineDash="{dashArray}" weight="5" lineJoin="round"/>
+                       </svg:stroke>
+                       <svg:fill>
+                               <graphics:SolidColor color="#48C9B0" 
alpha="1.0" />
+                       </svg:fill>
+               </svg:Rect>
                
-               <js:Rect id="fill_down" width="100" height="30" 
includeIn="down">
-                       <js:stroke>
-                               <js:SolidColorStroke alpha="1.0" 
color="#000000" />
-                       </js:stroke>
-                       <js:fill>
-                               <js:SolidColor color="#16A085" alpha="1.0" />
-                       </js:fill>
-               </js:Rect>
+               <svg:Rect id="fill_down" width="100" height="30" 
includeIn="down">
+                       <svg:stroke>
+                               <graphics:SolidColorStroke alpha="1.0" 
color="#000000" />
+                       </svg:stroke>
+                       <svg:fill>
+                               <graphics:SolidColor color="#16A085" 
alpha="1.0" />
+                       </svg:fill>
+               </svg:Rect>
                <js:TextButton x="50" y="100" text="Just a button"/>
        </js:Container>
        

Reply via email to