Hi Guys 
I am trying to make a simple app in Gumbo(flex 4) but it does not seem to be 
working, I am just trying to change the color of the a simple rectangle (which 
is in the form of the path data for the SVG image), I am not sure whats going 
on here but it does not seem to be working. Am I doing something wrong or is 
this the bug in the adobe Flex 4?
Please let me know if you have any idea,
Thanks a lot for your help


<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo">
        
        <fx:Declarations>
                <s:SolidColor id="normalFill" color="0x949EA3"/>
                <s:SolidColor id="overFill" color="0xFFFFFF"/>
                <s:SolidColor id="downFill" color="0x0066FF"/>
                <s:SolidColor id="disabledFill" color="0x000000"/>
        </fx:Declarations>
        
        <fx:Script>
                <![CDATA[
                
                ]]>
        </fx:Script>
        
        <!-- host component -->
        <fx:Metadata>
                [HostComponent("spark.components.Button")]
        </fx:Metadata>
        
        <!-- states -->
        <s:states>
        <s:State name="up" />
        <s:State name="over" />
        <s:State name="down" />
        <s:State name="disabled"/>
        </s:states>
        
        <s:Rect width="100%" height="100%">
                <s:fill>
                        <s:SolidColor color="0x000000" alpha="0.0"/>
                </s:fill>
        </s:Rect>
        
        <s:Path fill="{normalFill}" fill.over="{overFill}" 
fill.down="{downFill}" fill.disabled="{disabledFill}" scaleX="12500" 
scaleY="12500"
                data="M0.0021747 0.00326205c0.0021744,0 0.00434941,0 
0.00652411,0 0,0.0014495 0,0.00289991 0,0.00434941 -0.0021744,0 -0.00434941,0 
-0.00652411,0 0,-0.0014495 0,-0.00289991 0,-0.00434941z"/>
</s:Skin>


Reply via email to