Thanks Eric. Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia
Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GT&O Innovative Learning Blog and & subscribe. >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of eric e. dolecki >>Sent: Friday, February 22, 2008 2:11 PM >>To: Flash Coders List >>Subject: Re: [Flashcoders] Dynamically drawing gloss >> >>import flash.display.BlendMode; >>... >>myMCorSpriteGradientObject.blendMode = BlendMode.ADD; >> >>I think that's all there is to it. >> >> >> >>On Fri, Feb 22, 2008 at 1:40 PM, Merrill, Jason < >>[EMAIL PROTECTED]> wrote: >> >>> Right, I guess I should have added I figured adding a gradient fill >>> would be involved (though I didn't think of blendmode), so >>I'm really >>> asking for a some simple sample code. >>> >>> Jason Merrill >>> Bank of America >>> GT&O L&LD Solutions Design & Development eTools & Multimedia >>> >>> Bank of America Flash Platform Developer Community >>> >>> >>> Are you a Bank of America associate interested in >>innovative learning >>> ideas and technologies? >>> Check out our internal GT&O Innovative Learning Blog and & >>subscribe. >>> >>> >>> >>> >>> >>> >>> >>-----Original Message----- >>> >>From: [EMAIL PROTECTED] >>> >>[mailto:[EMAIL PROTECTED] On >>Behalf Of eric >>> >>e. dolecki >>> >>Sent: Friday, February 22, 2008 1:36 PM >>> >>To: Flash Coders List >>> >>Subject: Re: [Flashcoders] Dynamically drawing gloss >>> >> >>> >>You could make a duplicate of the shape, gradient fill it >>with white >>> >>from .5 to 0 in the middle like you want, and apply >>blendmode of add >>> >>to it. >>> >> >>> >>On Fri, Feb 22, 2008 at 1:03 PM, Merrill, Jason < >>> >>[EMAIL PROTECTED]> wrote: >>> >> >>> >>> How would you approach drawing a shape dynamically which >>> >>fades from .5 >>> >>> alpha at the top, to 0 alpha in the middle, so that when >>> >>overlaid over >>> >>> a filled circle in the middle , the sprite has that >>> >>"glassy/glossy" look? >>> >>> I know how to use the sprite.graphics methods, including >>> >>circle, but >>> >>> not sure how to approach a faded graphic like that with code. >>> >>> Definitely needs to be drawn with code. Thanks. >>> >>> >>> >>> Jason Merrill >>> >>> Bank of America >>> >>> GT&O L&LD Solutions Design & Development eTools & Multimedia >>> >>> >>> >>> Bank of America Flash Platform Developer Community >>> >>> >>> >>> >>> >>> Are you a Bank of America associate interested in >>> >>innovative learning >>> >>> ideas and technologies? >>> >>> Check out our internal GT&O Innovative Learning Blog and & >>> >>subscribe. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> Flashcoders mailing list >>> >>> Flashcoders@chattyfig.figleaf.com >>> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >>> >>_______________________________________________ >>> >>Flashcoders mailing list >>> >>Flashcoders@chattyfig.figleaf.com >>> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >> >>> _______________________________________________ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>_______________________________________________ >>Flashcoders mailing list >>Flashcoders@chattyfig.figleaf.com >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders