How do you create a vertical linear gradient in adobe flash professional cs5 or cs6

trcarden picture trcarden · Jan 5, 2013 · Viewed 13.2k times · Source

If you go to the color picker and select a linear gradient you always get a horizontal linear gradient. How do you rotate the gradient 90 degrees to create a gradient moving from top to bottom in adobe flash professional cs5 or 6?

My problem stems from the inability to create vertical linear gradient on a rounded rectangle. I can transform and rotate the button to get the proper gradient but the button edges get distorted.

I start with:

enter image description here

I end with:

enter image description here

Here is the color picker i am using. I don't see a angle option for gradients.

color picker

Answer

David Mear picture David Mear · Jan 10, 2013

In addition to the Gradient Transform Tool (F) which you've already found, you can hold and drag with the Paint Bucket (K) to set the direction of a gradient. If you then click on the new fill, it will automatically scale the gradient to fit the container exactly too.