Operation Manual
Publicatie-instellingen voor ActionScript (CS5)
Naar boven
Naar boven
De publicatie-instellingen van ActionScript wijzigen (CS5)
Klassebestanden en configuratiebestanden (CS5)
ActionScript 3.0-documentklassen declareren (CS5)
De locatie van de ActionScript-bestanden instellen (CS5)
ActionScript voorwaardelijk compileren (CS5)
Contextmenu's in Flash-documenten aanpassen (CS5)
Configuratiemappen geïnstalleerd met Flash (CS5)
De publicatie-instellingen van ActionScript wijzigen (CS5)
Als u een nieuw FLA-document maakt, vraagt Flash welke versie van ActionScript u wilt gebruiken. Als u op een later moment besluit uw scripts
met een andere versie van ActionScript te schrijven, kunt u deze instelling wijzigen.
Opmerking: ActionScript 3.0 is niet compatibel met ActionScript 2.0. De compiler van ActionScript 2.0 compileert alle code van ActionScript 1.0,
met uitzondering van de slash-syntaxis (/) die wordt gebruikt om paden voor filmclips aan te geven (bijvoorbeeld parentClip/testMC:varName=
"hello world"). Om dit probleem te voorkomen, kunt u uw code herschrijven met puntnotatie (.) of de compiler van ActionScript 1.0 selecteren.
1. Selecteer Bestand > Publicatie-instellingen en selecteer vervolgens het tabblad Flash.
2. Selecteer de versie van ActionScript in het pop-upmenu.
Klassebestanden en configuratiebestanden (CS5)
Als u Flash Professional installeert, worden er verschillende ActionScript-gerelateerde configuratiemappen en -bestanden op uw computer
geïnstalleerd. Als u deze bestanden wijzigt om de ontwerpomgeving te configureren, moet u een back-up maken van de oorspronkelijke
bestanden.
De map ActionScript-klassen Bevat alle ingebouwde ActionScript 2.0-klassen (AS-bestanden). De meest gangbare paden naar deze map:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\Classes
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\Classes
Macintosh: Harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash CS5/taal/Configuration/Classes
De map Klassen is gerangschikt in klassen voor Flash Player 7 (FP7), klassen voor Flash Player 8 (FP8), klassen voor Flash Player 9 (FP9)
en het mx-pakket, dat in beide spelers en in ASO-bestanden wordt gebruikt. Raadpleeg het Leesmij-bestand in de map Classes voor meer
informatie over de rangschikking van deze map.
De klassenmap Include Bevat alle include-bestanden voor de algemene ActionScript-code. De locaties hiervan zijn:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\Include
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\Include
Macintosh: Harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash CS5/taal/Configuration/Include
Het configuratiebestand ActionsPanel.xml Bevat het configuratiebestand voor codehints in ActionScript. Er zijn afzonderlijke bestanden met
configuraties voor elke versie van ActionScript en Flash Lite en voor JavaScript. De locaties hiervan zijn:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash
CS5\taal\Configuration\ActionsPanel
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\ActionsPanel
Macintosh: Harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash CS5/taal/Configuration/ActionsPanel
Het configuratiebestand AsColorSyntax.xml Het configuratiebestand voor ActionScript-syntaxismarkering met codekleuren. De locaties hiervan
zijn:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash
CS5\taal\Configuration\ActionsPanel\
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash CS5\taal\Configuration\ActionsPanel\
Macintosh: Harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash CS5/taal/Configuration/ActionsPanel