Flex – How do I prohibit a warning for an ActionScript file?

I have an ActionScript 3 source file (.as) which has hundreds of untyped variables. This file works very well although it outputs a warning for each untyped variable , This variable allows me to block about 800 warnings in the error panel in the IDE.

Although warnings are useful in my other source files, I want to prohibit the issue of this .as file Warning, because I am not in the mood to assign data types to them.

Is this possible?

I use FlashDevelop 3 on Windows 7,
and use Flex 4 SDK to compile the AS3 AIR project.

This is not a real solution, but if you mark your untyped variables with type*, flash builder will not display a warning:

var example:* = event.result.something;

I have an ActionScript 3 source file (.as), which has hundreds of untyped Variables. This file works very well. Although it outputs a warning for every untyped variable, this variable allows me to block about 800 warnings from the error panel in the IDE.

Although the warning It is useful in my other source files, but I want to suppress warnings for this .as file because I am not in the mood to specify data types for them.

Is this possible?

I use FlashDevelop 3 on Windows 7,
and use Flex 4 SDK to compile AS3 AIR projects.

This is not a The real solution, but if you mark your untyped variables with type*, flash builder will not show a warning:

var example:* = event. result.something;

Leave a Comment

Your email address will not be published.