0 Replies Latest reply on Aug 23, 2006 1:53 AM by Freeseb

    Accessing a component

    Freeseb Level 1
      Hi, I've a MXML Application using a viewStack that connect to compenents. But I don't find the way to access thoses compements betwen themselves:

      I wish to do somethiing like competitions.myfield from the calendar page...but no way. Any odear how to write the reference??

      Seb

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns="*" width="100%" layout="absolute" height="100%">
      <mx:ApplicationControlBar x="0" y="0" width="838">
      <mx:ToggleButtonBar
      height="100%"
      dataProvider="{viewStack}"
      styleName="storeButtonBar"/>
      </mx:ApplicationControlBar>

      <mx:ViewStack x="10" y="39" id="viewStack" width="97%" height="600" creationPolicy="all">
      <Calendar label="Calendar" width="100%" height="100%" />
      <Competitions label="Competitions results" width="100%" height="100%" />
      <Athletes label="Athletes" width="100%" height="100%" />
      </mx:ViewStack>

      </mx:Application>