0 Replies Latest reply on Oct 16, 2009 2:30 AM by Dileep_NR

    How to get the value of VO element usin THIS[] key word

    Dileep_NR Level 2

      How to get the value of VO element usin THIS[] key word

       

       

      I have VO named TestVO and two public variables

       

      TestVO

      var a:String;

      var b:String;

       

       

       

      In AS

       

      var p=”TEST”

      var q=”p”;

       

      var r:TestVO= New TestVO();

      var t =”r.a”

       

      r.a=”FIRST VAR”;

      r.b=”SECOND VAR”;

       

      Alert.show(this[q]); Will shows “TEST”

       

       

      Alert.show(this[t]); Gives error.

       

       

      I would like know how can I get the value of 'r.a' ie  “FIRST VAR”