QuantumDoja
Programmer
Hi, I have a button, that when pressed, it loads some xml from the server, the problem is, i want to create a pre-loader for it, but i do not know how.
I want to show in a dynamic text field, the percent downloading....but am totally stuck. please help.
I want to show in a dynamic text field, the percent downloading....but am totally stuck. please help.
Code:
btnLoad.onPress = function():Void {
xCodes = new XML();
xCodes.load("[URL unfurl="true"]http://www.mysite.co.uk/xmlgateway.asp");[/URL]
xCodes.onLoad = dosomething;
}