[Flashcoders] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Patrick Lemiuex
Hi, I was trying to script a spotlight effect in AS3... I didn't have any luck, apparently, it's pretty common to do this and come up with a rectangle. Does anyone have a working example of this? This is probably something I am going to do over and over again so help is really

Re: [Flashcoders] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Rob Romanek
What have you tried? I don't think you can do this via the timeline you need to do it programatically by setting the mask of a clip to another clip which has it's bitmap caching set to true. hth, Rob On Thu, 13 Sep 2007 14:19:42 -0400, Patrick Lemiuex [EMAIL PROTECTED] wrote: Hi, I was

Re: [Flashcoders] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Patrick Lemiuex
Yeah, that didn't work, i am not using the timeline, very rarely do i use the timeline these days. I need a working example to understand the exact process Thanks, Patrick On Sep 13, 2007, at 12:35 PM, Rob Romanek wrote: What have you tried? I don't think you can do this via the timeline

Re: [Flashcoders] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Rob Romanek
This should work for you... http://www.manibus.com/codeSamples/maskTest.fla Rob On Thu, 13 Sep 2007 15:41:46 -0400, Patrick Lemiuex [EMAIL PROTECTED] wrote: Yeah, that didn't work, i am not using the timeline, very rarely do i use the timeline these days. I need a working example to