Post away, Cristian.  I wrote the gradient classes in the charts, and can probably help.
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cristian Pop
Sent: Thursday, November 02, 2006 1:57 AM
To: [email protected]
Subject: [flexcoders] LinearGradient outside charts

Hi,

some time ago I've played a bit with creating components in AS and
I've extended the canvas to allow gradient using fillColors.
Back then I did not implement more than 2 colors.
In the meantime I've noticed the LinearGradient class and I thought
that I could use it to pass easier the parameters required by a
gradient. angle, fill colors, alphas and ratios.

So I've triend to extend the Canvas adding a fill property (IFill) and
then in updateDisplayList to use the begin method of the Linear
Gradient to fill the graphics of the Canvas.

I'm not sure what I'm doing wrong but it's not working. If anyone
knows how LinearGradient works and it can be used outside the scope
shown in the documentation please let me know.

I will try to post the code later.

Thanks,

Cristian Pop

__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to