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 GTO LLD 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 GTO 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
RE: [Flashcoders] Dynamically drawing gloss
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 GTO LLD 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 GTO 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 GTO LLD 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 GTO 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
Re: [Flashcoders] Dynamically drawing gloss
This might help: http://livedocs.adobe.com/flash/9.0/main/0180.html - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, February 22, 2008 7:03 PM Subject: [Flashcoders] Dynamically drawing gloss 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 GTO LLD 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 GTO 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 GTO LLD 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 GTO 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
RE: [Flashcoders] Dynamically drawing gloss
@%$!*!, I knew someone would send me to the help docs. :) Thanks Muzak - I'm feeling lazy today. Jason Merrill Bank of America GTO LLD 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 GTO Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Friday, February 22, 2008 1:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Dynamically drawing gloss This might help: http://livedocs.adobe.com/flash/9.0/main/0180.html - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, February 22, 2008 7:03 PM Subject: [Flashcoders] Dynamically drawing gloss 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 ___ 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
RE: [Flashcoders] Dynamically drawing gloss
Thanks Eric. Jason Merrill Bank of America GTO LLD 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 GTO 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 GTO LLD 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 GTO 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 GTO LLD 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 GTO 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
RE: [Flashcoders] Dynamically drawing gloss
Don't be so hard on yourse;f.. that happens to all of us :) Date: Fri, 22 Feb 2008 14:15:14 -0500 From: [EMAIL PROTECTED] Subject: RE: [Flashcoders] Dynamically drawing gloss To: flashcoders@chattyfig.figleaf.com @%$!*!, I knew someone would send me to the help docs. :) Thanks Muzak - I'm feeling lazy today. Jason Merrill Bank of America GTO LLD 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 GTO Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Friday, February 22, 2008 1:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Dynamically drawing gloss This might help: http://livedocs.adobe.com/flash/9.0/main/0180.html - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, February 22, 2008 7:03 PM Subject: [Flashcoders] Dynamically drawing gloss 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 ___ 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 _ Need to know the score, the latest news, or you need your HotmailĀ®-get your fix. http://www.msnmobilefix.com/Default.aspx___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders