hi, You can use describeType () method in flash.utils package
eg flash.utils.describeType(TestTrack) will return the description of the class TestTrack in XML format <type name="test::TestTrack" base="Class" isDynamic="true" isFinal="true" isStatic="true"> <extendsClass type="Class"/> <extendsClass type="Object"/> <accessor name="prototype" access="readonly" type="*" declaredBy="Class"/> <factory type="test::TestTrack"> <extendsClass type="Object"/> <variable name="enabled" type="Boolean"/> <variable name="checked" type="Boolean"/> <variable name="url" type="String"/> </factory> </type> to get all variables var varList:XMLList = flash.utils.describeType(TestTrack)..variable; it will return an XMLList of variables declared for more detail: http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType%28%29 On Dec 9, 6:14 pm, Kiran Singh <nkiransi...@gmail.com> wrote: > Hai, > > I have requirement to know the number of attributes(variables) in the > action script file.Is there any mechanism to know all the attributes in '.* > as'* file > ** > *Example :- * > > * > > package* test > > { > > [RemoteClass(alias=*"mytest"*)] > > *public* *class* TestTrack > > { > * > > public* *var* enabled:Boolean = *true*; > > *public* *var* checked:Boolean = *true*; > > *public* *var* url:String; > > *}* > > Will there be any mechanism to know all the attribute in the '*TestTrack*'. > > -- > N.Kiran Singh > mca -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.