3 Replies Latest reply on Aug 7, 2009 1:09 PM by Gregory Lafrance

    Fire event

    Zolotoj Level 3

      Let's say I have a slider that has a change listener:
      slider.addEventListener("change", setHistoryNumberOfYears);


      private function setHistoryNumberOfYears(event:SliderEvent):void

      But now I want to call setHistoryNumberOfYears from somewhere else.

      Can I create fake SliderEvent and pass into setHistoryNumberOfYears?