Hi All

some code to look at first

function meth2()
    {
        var x:XML = new XML();
        try{
            x.onLoad =
function(success)//Delegate.create(this,handleXmlLoad);
            {
                throw new CustomError();
            }
            x.load("somefile.xml");
        }
        catch(e:CustomError)
        {
            trace("caught in child");
        }
    }
    function handleXmlLoad(success:Boolean)
    {
        throw new CustomError();
    }

i am not able to catch this error in either the anon function or the
function delegate.
has anybody have any idea of how to handle asynchranous exception handeling
in flash?


thanks
j
--
j:pn
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to