Actionscript 3: Errors
Actionscript 3: Errors
Out of context: Reply #1
- Started
- Last post
- 15 Responses
- jpea0
it's because you're trying to get the property of an object that either isn't there or doesn't have that property. If you want to still call that function though with or without that object or properties present without your whole thing crapping out, do this:
try {
myFunction();
catch (e:Error){
trace(e.message)
}