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 refresh the MXML from main application control, so it will recall server again?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
Bindablevariable so that it will be displayed automatically.