Unfortunately, no, compound objects can't be expressed in styles. You
could easily reuse it, however, by defining a subclass of LineSeries in
mxml with all the value pre-defined.

Ely.
 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of shemeshkale
Sent: Thursday, March 16, 2006 6:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] is ther a way to write those as STYLE

hi,
i m exploring the charts design option.
have this code:
<mx:LineSeries yField="Expenses" form="segment" name="Expenses">
        <mx:stroke>
                <mx:Stroke weight="20" color="#ff0000" alpha="100" />
        </mx:stroke>
        <mx:renderer>
                <mx:SimpleLineRenderer />
        </mx:renderer>
        <mx:pointRenderer>
                <mx:CircleRenderer/>
        </mx:pointRenderer>
        <mx:pointFill>
                <mx:SolidColor color="#FF0000" />
        </mx:pointFill>
        <mx:pointStroke>
                <mx:Stroke color="#FF0000" weight="15" />
        </mx:pointStroke>
</mx:LineSeries>

is there a way to write all on the LineSeris attributes as a style?
so i can reuse them?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to