1 Reply Latest reply on Feb 20, 2008 2:48 PM by jfillman

    access to root TitleWindow properties

    Mongolian Beef Level 1
      Hi,

      I have a Flex component with its root being a TitleWindow. Hence I can not use an id attribute. Now if I want to dynamically change the TitleWindow's title, e.g. during a state transition, how do I do this without knowing the TitleWindow's id? Usually I would use the id of a component and do this:

      <mx:SetProperty target="{some_component's_id}" name="title" value="[some new title]"/>

      How would I do the above if the target is a root element? Thanks in advance!

      -los