Java Reference
In-Depth Information
FontWeight.BOLD, 18)
effect:DropShadow{offsetX:3 offsetY:3}
onMouseClicked :function(e){
def mode = toggleGrp.selectedButton.text;
imgPanel.blendMode = BlendMode.valueOf(mode);
anim.rate = 1.0;
anim .playFromStart();
anim.rate = -1.0;
anim .play();
When the Group instances imgPanel and controls are placed on the stage, and the
application is executed, it produces the next screenshot. The application lets users enter the
URLs of two images and select a blend mode. When the Blend-Images button is pressed, the
images slide to overlap each other and apply the blend effect:
Search WWH ::

Custom Search