Method :
- First, we define hexadecimal constant for colors.
- For each gradient object:
- set up an empty clip, in a different level : CreateEmptyMovieClip
- set up 3 arrays which MUST have the same number of items : colors, alphas, ratios.
- set up an array for the gradient limits.
- fill in : beginGradientFill
- draw the frameborders.
- finish up filling.