4] what is meta data? Metadata tags are basically compiler arguments which actually lets the compiler understand how the components are used in Flex application. In one of the questions you have asked what is [Bindable], this is one of the metadata tags in Flex. This metadata tag [Bindable] enables the variable as bindable one. i.e, when the variable value changes, then the places where this variable is referenced also gets changed. There are around 16 metadata tags in Flex. Some more examples are [Embed], [Remote], [Style], [Event], [Effect] etc.
Prajnith wrote: > > thanks very much very much Arvind.... > Prajnith > > > On Fri, Sep 11, 2009 at 12:31 PM, arvind hr > <arvind.raghaven...@gmail.com>wrote: > >> Hi Prajnith, >> >> >> 1] difference between panel and canvas? >> >> In a panel you can give the title of the container which is not possible >> in >> Canvas >> In panel you can specify the layout to absolute, horizontal and vertical >> where as in canvas layout is set to absolute. >> In panel you will have the borders on the four sides by default where as >> in >> Canvas you will not be having any border by default. >> >> 2] difference between array and array collection? >> >> The difference i think between Array and Arraycollection is that you can >> manipulate the items in the ArrayCollection you can manipulate the items >> using methods like addItemAt(), removeItemAt(), removeAll() >> >> 3] what is an event? >> >> Events let a developer know when something happens within a Flex >> application. They can be generated by user devices, such as the mouse and >> keyboard, or other external input, such as the return of a web service >> call. >> You can also create your own event. You can check the link below: >> http://life.neophi.com/danielr/2006/06/events_in_flex_2.html >> >> 4] what is meta data? >> This link will help you in understanding metadata tags >> http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_2.html >> >> 5] what is the use of bindable keyword? >> Consider the example below: >> >> [Bindable] >> private var myName:string = "My name"; >> <mx:Text id="txt" text="{myName}"/> >> <mx:Button id="btn" click="{myName = 'New name'}"/> >> >> If you have a Text control and you have to change the text value of the >> control dynamically on click of the button. Then instead of changing the >> text property of the Text control if you just change the value of the >> Bindable variable the text property of the Text control will be updated. >> >> Thanks >> Arvind >> >> >> On 9/10/09, prajnith K <prajn...@gmail.com> wrote: >> >>> 1] difference between panel and canvas? >>> 2] difference between array and array collection? >>> 3] what is an event? >>> 4] what is meta data? generally we write like this >>> <mx:Metadata> >>> [Event(name="custEvName")] >>> </mx:Metadata> >>> what is the use of this??? >>> 5] what is the use of bindable keyword? >>> >>> >>> Prajnith >>> >> >>> > > > > > -- View this message in context: http://www.nabble.com/-flex_india%3A25171--Small-doubts...-tp25386663p25722062.html Sent from the Flex India mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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_india@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 -~----------~----~----~----~------~----~------~--~---