[Extendflash] Error handling in JSFL?

Ibis Fernandez ibis at cinestarfilmworks.com
Tue Jan 10 14:16:58 PST 2006


You can do error handling using the "try..catch..finally".
 
you vasically "try" a function. if it works, then great! If it doesnt then
you "catch" the error and "finally" based on whatever condition you have
placed you can run a different function.
 
I use this to test between JSFL operations that work in flash 7 but not in
flash 8 and vice versa. Depending on whether an error comes up or not then
the appropriate function will be called for that specific version of Flash.
:)
 
- Ibis

   _____  

From: Liam MacDonald [mailto:liammac2005 at gmail.com] 
Sent: Tuesday, January 10, 2006 2:06 PM
To: extendflash at flashguru.co.uk
Subject: Re: [Extendflash] Error handling in JSFL?


I'm not so sure, I haven't come across anything before and I can't think of
anything that would help.

If noone else replies with a proper answer, I suggest just checking all your
code and try and perfect it - maybe clean it up a bit and see if theres
anything you can add to stop the errors happening if you haven't already. 



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 1/9/2006



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 1/9/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20060110/9c3faf54/attachment.htm


More information about the Extendflash mailing list