开发者

flex: Refrashing cusom mxml component on button click

I have defined small MXML component which calls web service which returns random number on request, then my component displays the number.

How do I开发者_Go百科 refresh the MXML from main application control, so it will recall server again?


What do you mean by refreshing the component. As per my understanding, you need to have a button or some similar control and on click event, call the webservice again and get the random number and display again. Or set that to a Bindable variable so that it will be displayed automatically.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜