3 Replies Latest reply on Dec 20, 2010 3:34 PM by saisri2k2

    Control Properties of one Component from another Component

    learner_doug Level 1

      Basic Model of the Application

       

      <s:Application...>

      <components:owPanel id="ow">

      <Textual:clickableText id="ow1">

      </components:owPanel>

      <components:infoBox id="infoBoxMS" />  has buttons that I want to control ow1 properties with

      </s:Application>

       

      Question:  How can I access the properties in "ow1" (such as alpha, border etc.) from the actionScript (via clickHandler for a button) in "infoBoxMS?"  Currently infoBox.mxml gives a undefined property "ow1" error as if it does not know how to find ow1.

       

      Thanks,

      Doug