General > Flash and AS 3

Tip of the day(4, using metadata

(1/1)

Andresss:
When using metadata remember not to use ( ; ) otherwise you could get an error message like this:
Severity and Description   Path   Resource   Location   Creation Time   Id
Metadata requires an associated definition.
so better use this way

[Event(name="change",type="flash.events.Event")]

with no ( ; ) at the end of the line, a couple of this details may seem something is wrong with the compiler.... so keep it simple and powerful  ;)

Navigation

[0] Message Index

Go to full version