Flash : picture effect

Out of context: Reply #5

  • Started
  • Last post
  • 17 Responses
  • propa0

    new Color(target)

    Parameters

    target The instance name of a movie clip.

    Returns

    Nothing.

    Description

    Constructor; creates an instance of the Color object for the movie clip specified by the target parameter. You can then use the methods of that Color object to change the color of the entire target movie clip.

    Example

    The following example creates an instance of the Color object called myColor for the movie clip myMovieClip and sets its RGB value:

    myColor = new Color(myMovieClip);
    myColor.setRGB(0xff9933);

View thread