1 Reply Latest reply on Dec 30, 2008 2:44 AM by Hulfy

    Custom Classes and linkage in flex

    Hulfy
      Hi,

      In flash I would create my custom class then attach it with linkage and call it. How do I do this in flex?

      Just say I wanted all images to have this class below. How do I call the go() method?

      Thanks.



      package myClasses
      {
      import mx.controls.Image;

      public class moveIt extends Image
      {
      public function moveIt()
      {
      super();
      }

      public function go():void {

      x= 200;
      }

      }
      }