header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
krishna
Points:0
Posts:0

7/15/2011 8:38:07 AM

Title: What is the use of label function


Hi,

What is the use of label function.

Thanks & Regards,
krishna



1
Friend
Points: 710
Posts:0
7/16/2011 11:06:17 AM



Label function is used to customize what to display as label in a component . For example to display custom label text you can define a label function for list control

// This function will return the data to be displayed as label.
my_list_Control.labelFunction = function(my_item:Object):String {
 var label_text:String = my_item.label + " - and -: " + my_item.data;
 return label_text;
}


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions