0 Replies Latest reply on Feb 10, 2007 8:39 AM by Timdej

    Seperating Actionscript from the custom component

    Timdej
      Hi,

      is there a way to have a separate actionscript file, change for example the labels of a custom component. without having the actionscript in the component itself? I've tried making an object of the component withing the actionscript file but this didn't work, neither did making an object of the actionscript file and passing the component to the constructor like so:

      private var lc:ListController = new Listcontroller(this);

      can anybody enlighten me?