In flex, you can place [Embed(...)] above a variable to tell it to place a resource inside a var.
Is there a way to create a custom tag, like [Replicate(condition)] and process that somewhere within the code? (In this particular case, it would add the variable to a set of replicated variables that need to be sent over the network)
You can define your own metadata as demonstrated below:
Some of the IoC frameworks for Flex (eg. parsley, swiz) use custom metadata tags.
Thanks, this is what I was looking for.