开发者

Using gwt fx to fade one image into another

I am using gwt fx to fade an image using the code below.I was wondering if there was a way to make it fade one image into another.

Fade 开发者_StackOverflow中文版theFade = new Fade();
theFade.addEffectElement(image_1.getElement());
theFade.play()

Thanks


You can probably try adding addEffectCompletedHandler to theFade and kick off the next effect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜