thanks for all the tips.. now to dig into it a bit more:

XML.onLoad dosen't "take" parameters -- it's being invoked by the XML
class from a private method and passed a boolean value so that you can
evaluate if the load was successful.
With "= function(success:Boolean){...", you are assigning the onLoad
method an anonymous function so that when the method does eventually
get invoked after a successful load, your functionality is invoked as
well.

i could also assign xml.onLoad a class method ... but not get any
meaningful parameters to this method except the loaded boolean ...

the delegate class seems to be a hack to get around this - like "call
back (aka delegate) an instance of the class i am handing you"
why not just pass the method itself?

the onLoad() is an event fired by the XML object, on loading, which is
able to pass off a boolean "loaded" flag too. but this cannot somehow
be overloaded to pass parameters that I want?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to