swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Invalid reference produces warning, not error


From: Matthew Ayres
Subject: [Swftools-common] Invalid reference produces warning, not error
Date: Thu, 2 Jul 2009 14:13:46 +0100

Hello all

I'm currently teaching myself ActionScript and, out of curiosity when Flex's error handling was raised in the book I'm using, duplicated the erroneous code in my files.  That is, I called a function that does not exist anywhere in code; eatt instead of eat (notice the extra 't').

In its default mode as3compile (swftools 0.9.0) produces no messages regarding this line of code.

In verbose mode it reports:
VirtualZoo.as:10:12: warning: Resolving eatt on unknown type
VirtualZoo.as:11:11: warning: Resolving eat on unknown type

This seems rather odd to me.  On both eat() (an existing method, others as well) and eatt() (a non-existant method) a warning is produced, but no error where one is expected.  This seems also to be roughly analogous to Flex's 'standard' mode which is apparently (and strangely, I thought) not its default.

Can anyone else confirm this problem?

FYI I'm using openSUSE 11.1 i586 with swftools 0.9.0-0.pm.1-i586 from the Packman repository.

Regards,
Matthew

reply via email to

[Prev in Thread] Current Thread [Next in Thread]