Hi All,
I am new Web App development using Flex Builder 3 and currently I am facing the following problem:
Attached is a code snippet from the mxml file:
 <mx:Script>
    <![CDATA[
     import com.bx.Char10;
     import com.bx.A;
            [Bindable] private var inputParam:A = new A()       
            inputParam.CustNumber.char10 = '0123456789'
        }
     ]]>
  </mx:Script>
This Gives a compile error
1120 Access of undefined property inputParam
However if I replace
inputParam.CustNumber.char10 = '0123456789'
with
  private function set():void
    {
     inputParam.CustNumber.char10 = '0123456789'
    }
The compile error goes away.
My Question is : How can I remove this Compilation Error without using the workaround I did?