XML - Do this once loaded

Hey’a,

Just starting to write a lil program with XML integration - However, I’m curious… How do I go about tellin flash to wait till the XML is fully loaded (preloaded) before it goes ahead and does the rest of it’s actions.

maybe even integrating a preloader bar or a textbox updating.

Whats the AS Commands? eg: my_xml.onLoad = function(success:Boolean) {…