flash - square bracket before class definition in as3 -


i've seen embed tag used before class definition, saw keith using these..

[event(name="select", type="flash.events.event")] [event(name="close", type="flash.events.event")] [event(name="resize", type="flash.events.event")] public class window extends component{ 

can tell me does?

most importantantly, flex compiler uses when interpreting mxml. metadata, asdocs & code completion implementations use show available events, thats it.

its in docs here: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html

hope helps!

(answer edited more accurate)


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -