This content has been marked as final. Show 4 replies
thanks for the qucik replay.
I have already gone through the page you pointed me.
The problem is not how to set a bunch of [Inspectable] metatag properties but how to
determine which properties of a component are [Inspectable].
You need to call describeType for the Class. So, something like this:
var theClass:Class = ApplicationDomain.currentDomain.getDefinition("mx.controls.Button") as Class;
var desc:XML = flash.utils.describeType(theClass);
Then you need to extract the data you want from the XML. It will help to dump out the XML for a couple class to figure out how to get the Inspectable metadata that you want.
-- Greg Dow
-- Adobe Thermo Team
I tried out the approach you suggested but in my opinion the result is the same as direct using describeType() method like:
var desc:XML = flash.utils.describeType(new Button());
The only information about Inspectable metadata tag is the the same I described in my first post.
If I am wrong or I am missing something please let me know.
Thanks in advance