I cant get a spotlight effect with gradientfill to work right i
create an object that represents the gradient and then i tween it from small to huge… and draw a box the size of the screen and fill it and on each updateMovement I redraw the gradient with a alpha 0 center and a 255 edge…
but it doesnt center right at all…no matter what i do. anyone have any ideas or can make me an example gradient that grows and at the end just the corners are darker?
It always is off Center…(oh Im using Stage.width/height since it needs to be dynamically resized based on browser…)