We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
een constructorfunctie
Define the object type by writing a constructor function.
Definieer het objecttype door een constructorfunctie te schrijven.
Alternatively, you can first create a constructor function and then instantiate an object invoking that function in conjunction with the new operator.
Als alternatief kunt u eerst een constructorfunctie maken en vervolgens een object oproepen die de functie in combinatie met de nieuwe operator invult.
First, create the class by defining a constructor function for the class, as follows
Maak eerst de klasse door als volgt een constructorfunctie voor de klasse te definiëren
This restriction applies when you create an object and its properties with a constructor function (as we did previously with the Car object type) and when you define individual properties explicitly (for example, myCar.color = "red").
Deze beperking is van toepassing wanneer u een object en zijn eigenschappen maakt met een constructorfunctie(zoals eerder met het Car-object type) en wanneer u afzonderlijke eigenschappen expliciet definieert(bijvoorbeeld, myCar.color = "red").
To create a class in ActionScript 1.0, you define a constructor function for that class.
Als u een klasse in ActionScript 1.0 wilt maken, definieert u een constructorfunctie voor die klasse.
In addition to creating objects using a constructor function, you can create objects using an object initializer.
Naast het maken van objecten die een constructorfunctie gebruiken, kunt u objecten maken met behulp van een objectinitiator.
This method can be very useful, because it allows you to choose the prototype object for the object you want to create, without having to define a constructor function.
Deze methode kan erg handig zijn, omdat u het prototype object voor het object kunt maken dat u wilt maken zonder dat u een constructor function.type moet definiëren.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.