Damon4hire Posted December 26, 2009 at 01:05 AM Report #302429 Posted December 26, 2009 at 01:05 AM Estou a tentar chamar a função da classe A, que extende da classe B, e deu-me aquele erro. resultado: Error #1006: behavior is not a function. Possiveis razões, por favor?
pouic Posted December 28, 2009 at 05:09 PM Report #302815 Posted December 28, 2009 at 05:09 PM The TypeError was recognized in the catch(error:TypeError) block, caught, and the script was able to continue normally, but not before finally runs, of course. Though a catch(error:Error) was used here, it was not used because a catch(error:TypeError) was included that correctly matched the error thrown. If the TypeError catch was not there, the Error catch would have been used instead. What about what happens if only the unrelated IOErrorEvent is used? try { var value:* = new Array(); trace(value.getChildAt(0)); } catch(error:IOErrorEvent) { trace("IOErrorEvent catch: " + error); } finally { trace("Finally!"); } trace("Continuing with script..."); fonte: http://www.kirupa.com/forum/showthread.php?p=1957523
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now