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.
精彩评论