Far better to separate the event handling from the recursion altogether. In the event handler get the XML, then pass it to the recursive routine. Don't pass an event to the recursive routine, pass the data/XML. Generally with recursive code, when you run out of arguments to pass, you stop calling. Paul
On 29 March 2010 at 14:04 Keith Reinfeld <[email protected]> wrote: > > I need to find a way to get around this.... can I call the function > > without e:Event? > > Yes: > > function (parseXML(e:Event=null) { > ........... > parseXML(ixml); > } > > > Regards, > > Keith Reinfeld > Home Page: http://keithreinfeld.home.comcast.net > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

