Flash Draw API?
Flash Draw API?
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- Kevin_Sweeney0
i just did this recently. you might run into some issues when you resize it (i did at least). if you do, destroy the gradient, and then create a new one in the function that your onResize stage listener is calling.
of course, if you're just doing a linear gradient, you might just be better off making the background a tiling GIF and having your flash movie export with a transparent background.
but for more complex gradients like radial, reflected, or any of those ridiuculously crazy multi-gradients the flash help files have, this is a really cool method.