What is the problem with calling setStyle()
Submitted by: AdministratorCalling 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Adobe Flex Actionscript Job Interview Questions And Answers
Top Adobe Flex Actionscript Questions
☺ | What does calling preventDefault() on an event do? How is this enforced? |
☺ | How do you add event listeners in mxml components. Now AS3 components? |
☺ | What is the difference between ChangeWatcher.watch, and BindingUtils.bindProperty? |
☺ | Is it possible to make httpService Requests synchronous in adobe flex? |
☺ | Explain How many levels does Flash MX support? |
Top Adobe Categories
☺ | Adobe Photoshop Interview Questions. |
☺ | Adobe Illustrator Interview Questions. |
☺ | Adobe Flash Interview Questions. |
☺ | Adobe Flex Actionscript Interview Questions. |
☺ | Photoshop Expert Interview Questions. |