4 Replies Latest reply on Mar 10, 2010 7:04 AM by bastek_sm

    Creating a custom MXML Component

    hidarikani Level 2

      I'm trying to create a custom MXML component. Simplified code:

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Panel id="componentRoot" xmlns:mx="http://www.adobe.com/2006/mxml">
           <mx:VSlider id="sliderControl" />
      </mx:Panel>
      

       

      sliderControl is public so I can access it directly from my application:

       

      componentRoot.sliderControl
      

       

      How do I make sliderControl private?