With the ActionScript file open in the Script window, select the FLA file that the ActionScript file should be compiled with from the Target menu at the top of the Script window.
However, if you use many behaviors on a lot of object instances, writing your own code on the Timeline or in external ActionScript files might be more efficient.
Wanneer u echter vele gedragingen gebruikt op een grote hoeveelheid objectinstanties, kan het schrijven van uw eigen code op de tijdlijn of in externe ActionScript-bestanden efficiënter zijn.
Lists Animate file types, such as Animate documents and ActionScript files. Create from Template
Hiermee wordt een lijst met Animate-bestandstypen getoond, zoals Animate-documenten en ActionScript-bestanden.
Enter the filename of the ActionScript file for the class in the Document Class text box in the Property inspector.
Geef de bestandsnaam van het ActionScript-bestand voor de klasse op in het tekstvak Documentklasse in de eigenschappencontrole.
To use an ActionScript class that you've defined, Animate must locate the external ActionScript files that contain the class definition.
Als u een ActionScript-klasse die u hebt gedefinieerd wilt gebruiken, moet Animate de externe ActionScript-bestanden met de klassendefinitie kunnen vinden.
AS files are ActionScript files-you can use these to keep some or all of your ActionScript code outside of your FLA files, which is helpful for code organization and for projects that have multiple people working on different parts of the Animate content.
AS-bestanden zijn ActionScript-bestanden die u kunt gebruiken om alle ActionScript-code, of een gedeelte hiervan, uit uw FLA-bestanden te houden. Dit is nuttig voor het ordenen van code en voor projecten waarbij meerdere personen aan verschillende delen van de Animate-inhoud werken.
When generating text dynamically with ActionScript in your FLA file.
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.