or 2 displayobjects with gradient on each, one is horizontal and one is vertical but use one as mask of the other. ^^
--- On Wed, 9/24/08, Josh McDonald <[EMAIL PROTECTED]> wrote: From: Josh McDonald <[EMAIL PROTECTED]> Subject: Re: [flexcoders] Re: Gradient that is vertical and horizontal! To: [email protected] Date: Wednesday, September 24, 2008, 7:46 AM s/45 degree radient fill/45 degree gradient fill/ -Josh On Wed, Sep 24, 2008 at 9:46 AM, Josh McDonald <[EMAIL PROTECTED] com> wrote: It'll (probably) be faster to generate a bitmap at 400x400, using a 45 degree radient fill. Then simply scale that bitmap to 400x10. You'll only need to do this once, then use a bitmap fill. -Josh On Wed, Sep 24, 2008 at 5:57 AM, Tim Hoff <[EMAIL PROTECTED] com> wrote: Btw, either way that you do it, you're probably going to have to layer a gradient rectangle over another gradient rectangle; with the proper opacity. The trick will be getting the colors to be what you want. -TH --- In [EMAIL PROTECTED] ups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hey, if you can do it with the drawing API, cool. But, this is rather > easy to do in Fireworks or Photoshop. Just flatten your image and you > won't add that much size to the swf. > > -TH > > --- In [EMAIL PROTECTED] ups.com, "tchredeemed" apthorp@ wrote: > > > > I was hoping you wouldnt say that! :) > > > > --- In [EMAIL PROTECTED] ups.com, "Tim Hoff" TimHoff@ wrote: > > > > > > > > > You're probably better off just creating an image and using that as > the > > > skin for a container. Might be a bit tricky getting this to work > with a > > > programmatic skin. > > > > > > -TH > > > > > > --- In [EMAIL PROTECTED] ups.com, "tchredeemed" <apthorp@> wrote: > > > > > > > > Heres the problem, I need to draw a gradient that goes from 0 > opacity > > > > black to 100% opacity black from left to right. > > > > > > > > However, this also needs to fade out the further down you go. > > > > > > > > The gradient is 10 pixels wide, and about 400 pixels tall. > > > > > > > > So its essentially a horizontal gradient that fades as it goes > down... > > > > > > > > any ideas? > > > > > > > > > > ------------ --------- --------- ------ -- Flexcoders Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Alternative FAQ location: https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- b4cf-1e62079f684 7 Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups Links -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex. joshmcdonald. info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex. joshmcdonald. info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] com

