I have a function called processXML on the timeline (yes, I know now…) which does what I want it to do e.g. it loads XML, is passed into several arrays and manipulates things on screen. Cool
I have another function, a TIMER, from which I’d like to call the function above e.g. processXML.call()
(I want it to load fresh data every 10-20 seconds)
But no luck. I’m new to AS3 but can’t seem to get it working.
Am I missing something fundamental?
just
processXML()should work. This, obviously, if both functions are at the same level on the timeline.Or simply when your first frame is loaded you can do