You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/10/16 10:49:43 UTC

[5/5] git commit: [flex-asjs] [refs/heads/develop] - Update how we draw from AS3

Update how we draw from AS3


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

Branch: refs/heads/develop
Commit: d36feac4598446b6e98c2b301f4c73823c1ae8a7
Parents: 58cbb52
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Thu Oct 16 01:48:42 2014 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Thu Oct 16 01:48:42 2014 -0700

----------------------------------------------------------------------
 examples/FlexJSTest_SVG/src/GraphicsView.mxml | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d36feac4/examples/FlexJSTest_SVG/src/GraphicsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_SVG/src/GraphicsView.mxml b/examples/FlexJSTest_SVG/src/GraphicsView.mxml
index 3704b10..2cda028 100644
--- a/examples/FlexJSTest_SVG/src/GraphicsView.mxml
+++ b/examples/FlexJSTest_SVG/src/GraphicsView.mxml
@@ -37,7 +37,7 @@ limitations under the License.
 
 			protected function viewbase1_initCompleteHandler(event:org.apache.flex.events.Event):void
 			{
-				//drawIndividualShapes();
+				drawIndividualShapes();
 				//drawOnGraphicsContainer();
 			}
 			
@@ -139,7 +139,9 @@ limitations under the License.
 				stroke.color = 0x123456;
 				stroke.weight = 2;
 				circle1.stroke = stroke;
-				circle1.drawCircle(700,300,200);
+				circle1.x = 700;
+				circle1.y = 200;
+				circle1.radius = 200;
 				this.addElement(circle1);
 				
 				var circle2:Circle = new Circle();
@@ -149,7 +151,10 @@ limitations under the License.
 				stroke.color = 0xccff11;
 				stroke.weight = 5;
 				circle2.stroke = stroke;
-				circle2.drawCircle(100,700,100);
+				circle2.x = 100;
+				circle2.y = 700;
+				circle2.radius = 100;
+				//circle2.drawCircle(100,700,100);
 				this.addElement(circle2);
 				
 				var path1:Path = new Path();
@@ -251,7 +256,7 @@ limitations under the License.
 			
 		]]>
     </fx:Script>
-	<basic:Rect x="0" y="0" width="200" height="200" >
+<!--	<basic:Rect x="0" y="0" width="200" height="200" >
 		<basic:fill>
 			<basic:SolidColor color="#FF0000" />
 		</basic:fill>
@@ -317,6 +322,6 @@ limitations under the License.
 		<basic:fill>
 			<basic:SolidColor color="#0000FF" alpha="0.5" />
 		</basic:fill>
-	</basic:Path>
+	</basic:Path>-->
 	
 </basic:ViewBase>