flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: [FlexJS] How to use the Graphics framework?
Date Fri, 13 May 2016 13:59:52 GMT
It looks like you are just missing the <js:fill> property of the circle:

<js:Circle x="100" y="100" radius="50">
		<js:SolidColor color="#26C9FF" />

I'm surprised you didn't get an error with the SolidColor tag just
floating within the Circle element.

Peter Ent
Adobe Systems/Apache Flex Project

On 5/13/16, 3:16 AM, "OK" <OKrueger@edscha.com> wrote:

>I've just found the "org.apache.flex.core.graphics" classes and try to
>a circle... without success.
>The only thing I've got is an empty screen.
>I used the follwing snippet as "initialView":
><js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
>				xmlns:js="library://ns.apache.org/flexjs/basic" >
>		<js:Circle x="100" y="100" radius="50">
>			<js:SolidColor color="#26C9FF" />
>		</js:Circle>
>Maybe there's a surrounding container needed to make it work?
>Does somebody know how it works?
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message