Question :What is the problem with calling setStyle()?
Answer :Calling the setStyle() method can result in decreased performance. Use it only when necessary.
You should try to apply style sheets rather than use the setStyle() method because it is
computationally expensive. This method should only be used when you are changing an object's
styles during run time.
You cannot get or set style properties directly on a component as you can with other properties.
Instead, you set style properties at run time by using the getStyle() and setStyle() ActionScript
methods.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 27, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment