2 Replies Latest reply on Nov 21, 2008 6:50 AM by Newsgroup_User

    Anyone know why I can't refer to a label control (id="address") in the component I created?

    jcahill23 Level 1
      Hi. In Main.mxml I have a control <mx:Label id="address"/>.
      In the src folder there is a components sub-folder in which I have a component.mxml file where I reference "address.text". I get the error: 1120: Access of undefined property address.
      I'm obviously doing something wrong but I thought all mxml control tags are instance objects of their respective class and that all these classes are public and can be referred to throught the application?