Be a Supporter!

AS2 Gradient Fill

  • 356 Views
  • 1 Reply
New Topic Respond to this Topic
Randomini
Randomini
  • Member since: Jul. 7, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
AS2 Gradient Fill 2009-02-18 04:07:24 Reply

You can see my current work Here. (use arrow keys)
As you can see, I have a script filling the area between the outside nodes. I would, however, like to fill that same area with a gradient centered on the node in the middle. I'm using AS2 in CS4.
Thanks in advance Guys!
Randomini


BBS Signature
Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to AS2 Gradient Fill 2009-02-18 06:50:58 Reply

beginGradientFill is the command you need, but I can't be any more help than that I'm afraid because I never really got my head around the whole matrix thing. There are code samples in the AS2 help files.


- - Flash - Music - Images - -

BBS Signature