5 Replies Latest reply on Oct 14, 2008 11:00 AM by manofspirit

    How to make my code more efficient more readable

    manofspirit Level 1
      As you can see that I am using event.target.selectedItem.(mydata) 4 times.
      I want to do something like following for efficient and readable code.

      var myData:? = event.target.selectedItem;

      so illbe able to get my 4 values using

      How can i do that?
      Thanks in advance