>mmmh. Ist der Konstruktor hier nicht in der Class ? <zitat> Constructor Declaration After you've declared the properties within the class, you should next declare the constructor. Technically, if you don't declare a constructor explicitly, Flash will create an implicit empty constructor for you. But even if your constructor does not do anything, it is still good form to declare the constructor explicitly. Remember, the constructor is a special method that shares the same name as the class. The constructor can be used within a new statement to create new instances of the class. The constructor should be declared just like a regular function, and even though it can accept parameters, it should not return any values. Here's an example of the Car class with a constructor: class com.person13.Car { private var _sMake:String; private var _sModel:String; private var _nYear:Number; private var _nMiles:Number; private var _nInterval:Number; function Car(sMake, sModel, nYear, nMiles) { _sMake = sMake; _sModel = sModel; _nYear = nYear; _nMiles = nMiles; } // Rest of class definition. } </zitat> steht alles hier : http://www.person13.com/articles/as2primerparttwo/ grüsse, jan ------------------------------------------------------ Archiv : //www.freelists.org/archives/ascoders/ Optionen : //www.freelists.org/list/ascoders ------------------------------------------------------