Hi Pritosh, I think you can clear the line using graphics.clear(); and regenerate it again with desired color
Let me know if it helps you or you will find some better solutions Kalpesh Mahida -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paritosh Bisi Sent: Friday, February 13, 2009 4:22 PM To: Flex India Community Subject: [flex_india:19222] Changing color of graphics at run time. Hi, I have a canvas, I am creating an UIComponent. Then I am drawing a line using uicomp.graphics.linestyle, uicomp.graphics.moveto and uicomp.graphics.lineto. After adding the uicomp to canvas, is there any way to change the color that line? Thanks, Paritosh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

