Archive for October, 2010

Alert control with long text in single line

alert = Alert.show(“Terms and Conditions Agreement”,”,Alert.YES | Alert.NO,this,function(){},null,Alert.YES);

alert.mx_internal::alertForm.mx_internal::textField.mouseEnabled = false;

alert.mx_internal::alertForm.mx_internal::textField.htmlText = “asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234asdjflasdjfklasjdlfkjasdklfjal5rt34523452345234”;

alert.mx_internal::alertForm.mx_internal::textField.autoSize = TextFieldAutoSize.CENTERĀ  ;

alert.mx_internal::alertForm.mx_internal::textField.wordWrap = false ;

Advertisements

1 Comment

Few Things for being extraordinary person in life

I watched video posted by Robin sharma on “How to Do Your Best Work” and summarized following points:

1) Choose one difficult or challenging thing to complete within 3 day which you resist to do.

2) Start the day with work which is difficult or challenging to do, which allow to stretch your mind, body and you.

3) In morning get something good in mind like watch video, read paragraph or quote which inspires you the most.

4) Always complete the task, minor or major, with best solution.i.e Be good what ever you do.

5) Improve 1% every day in one specific things, which results in SUNAMI in your productivity.

6) At the end of every day , think for one thing which u will do tomorrow will increase your performance one level up.

7) Fix the time for gmail,facebook, blogs.

8) Every single day learn something new and be ridiculous passionate for that.

 

Leave a comment