开发者

flex: Refrashing cusom mxml component on button click

开发者 https://www.devze.com 2022-12-22 06:35 出处:网络
I have defined small MXML component which calls web service which returns random number on request, then my component displays the number.

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

精彩评论

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