I would like to create a class that acts in the same manner
as one of the metadata tags in actionscript (eg. Bindable) in that
you can decorate variables/methods/etc with this "attribute" and
then interrogate whether the attribute has been placed on that
variable later in my applications code.
This is quite easy to do in .NET (my background) as it
provides the Attribute class which you can inherit from. Is there
any similar functionality in AS2/AS3 that I can easily leverage in
order to do this? Basically I want to have something like:
var someVariable : String;
where if the DoNotSend attribute exists, the value of the
variable is not "sent" by the Send() method (for example).