After completing the setup of the Movie Clip object and text field, right-click on the Movie Clip and select
Actions to open the Actions pane. Below the existing clips, were going to insert a new one by drilling down to
Objects->Movie->TextField->Properties ->textColor and double-clicking to add it:
onClipEvent (mouseDown) {
redwidth=getProperty ( _root.red, _width) ;
_root.displayvalue.text=redwidth;
.textColor;
}
Currently, only the individual function is defined, without parameters. We need to define the text field affected, and the color.