I should use lineTo, curveTo and mask from flash.display classes for
creating complicated shapes and filling them
What a pity
Any chance you have sample code of what you're trying to do? That may make it easier for others to offer help. Also, have you tried creating/using SVGs for your complex shapes? If you try to run the following sample, what are the results?
<?xml version="1.0" encoding="utf-8"?>
<degrafa:GraphicBorderSkin
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:degrafa="http://www.degrafa.com/2007"
>
<mx:Script>
<![CDATA[
[Bindable]
private var _skinWidth:Number=0;
[Bindable]
private var _skinHeight:Number=0;
override protected function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
{
super.updateDisplayList( unscaledWidth, unscaledHeight );
_skinWidth = unscaledWidth;
_skinHeight = unscaledHeight;
}
]]>
</mx:Script>
<!--Degrafa Drawing Code-->
<degrafa:fills>
<degrafa:LinearGradientFill id="backgroundFill" angle="90">
<degrafa:GradientStop color="#f2f2f2"/>
<degrafa:GradientStop color="#cccccc"/>
</degrafa:LinearGradientFill>
</degrafa:fills>
<!-- SVG skin -->
<degrafa:geometry>
<degrafa:GeometryComposition>
<degrafa:Path
data="M0.028,0C0.017,0.296,0,0.591,0,0.892v137.425c0,8.64,4.375,15.646,9.773,15.646h134.38c5.394,0,9.77-7.006,9.77-15.646V0.892c0-0.301-0.017-0.595-0.027-0.892H0.028z"
fill="{backgroundFill}"
/>
</degrafa:GeometryComposition>
</degrafa:geometry>
<!--Filters-->
<degrafa:filters>
<filters:DropShadowFilter
angle='45'
blurX='4' blurY='4'
distance='2'
alpha='0.6' color='#000000'
knockout='false' quality='1'
strength='1' inner='false' hideObject='false'
xmlns:filters='flash.filters.*'
/>
</degrafa:filters>
</degrafa:GraphicBorderSkin>
P E A C E
Hasan Otuome
http://technophi.com
> --
>
> You received this message because you are subscribed to the Google Groups "Degrafa" group.
> To post to this group, send email to deg...@googlegroups.com.
> To unsubscribe from this group, send email to degrafa+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/degrafa?hl=en.
>
>