1 Reply Latest reply on Jan 27, 2010 6:55 PM by JeffryHouser

    components integration

    el_kolo

      hi,

       

      I have  imported  two mxml components to my Application.

      <mx:Application>

                <custom:Keyboard/>

                <custom:RTE/>

      </mx:Application>

      Keyboard.mxml is Canvas container with buttons. RTE is Canvas container with Rich Text Editor.A want to click on the button in Keyboard component and send its label to Rich TextEditor.  How to integrate these two components in my apllication file?

       

        Id if Rich TextEditor and ids of buttons are in different files so my function doesn't work;/

      private function clickHandler():void
                      {
                          rte.text+=btn1.label;
                          rte.text+=btn2.label;
                  }