Undefined method raise exceptions, ain't it ?
What kind of other error would you like to trace ?
I, for myself, use the sephiroth Flashtracer firefox extension, which
is really faster that any LocalConnection (all swf logger aplications
like Luminic and so) or ExternalInterface (flash to firebug bridge)
to trace errors.
In order to capture all errors, I usually catch all exceptions in the
main function and reroute them to a single trace().
It has the side effect that way users that use the debugger version
of Flash just don't see anything.
Here is a the idea :
public function Main( )
{
// Main exception catcher
try
{
Tracer.about();
// Beware that stage == null before MainLoader
addchild.
addEventListener( Event.ADDED_TO_STAGE, onStage
);
} catch( e:Error )
{
Tracer.error( "Main thread halted :\n" +
e.message +"\nCall
strack :\n"+ e.getStackTrace() );
}
}
HTH
Le 23 févr. 08 à 21:06, Ralf Bokelberg a écrit :
> The player simply ignores errors like this.
> This is the same in AS3 btw., at least in this particular case.
>
----
Eric Priou
aka erixtekila
Articles : http://www.v-i-a.net/inprogress
Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano
Oregano forum : http://www.v-i-a.net/forum/
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org