Operation Manual

409
FLASH CS4 PROFESSIONAL GEBRUIKEN
ActionScript
Opmerking: 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
Als u Flash 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
CS4\taal\Configuration\Classes
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash
CS4\taal\Configuration\Classes
Macintosh: harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash
CS4/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 locatie van deze map is:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash
CS4\taal\Configuration\Include
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash
CS4\taal\Configuration\Include
Macintosh: harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash
CS4/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
CS4\taal\Configuration\ActionsPanel
Windows Vista: Vaste schijf\Gebruikers\gebruiker\Local Settings\Application Data\Adobe\Flash
CS4\taal\Configuration\ActionsPanel
Macintosh: harde schijf/Users/gebruiker/Library/Application Support/Adobe/Flash
CS4/taal/Configuration/ActionsPanel
Het configuratiebestand AsColorSyntax.xml Het configuratiebestand voor ActionScript-syntaxismarkering met
codekleuren. De locatie van deze map is:
Windows XP: Vaste schijf\Documents and Settings\gebruiker\Local Settings\Application Data\Adobe\Flash
CS4\taal\Configuration\ActionsPanel\