.AS

Файл AS

ActionScript Source File
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An AS file is plain-text ActionScript source code - the programming language behind Adobe Flash and Flex apps. Any text editor opens it. It is not runnable on its own; it must be compiled into a .swf. With Flash Player end-of-life in December 2020, most AS files today are legacy source.

Разработчик: Adobe Systems (originally Macromedia); language standardized on ECMAScript Категория: Файлы разработчика Открыть стандартное MIME: text/plain
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .DO · .MD · .HEX · .XSD

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 12, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла AS?

.as files are associated with the ActionScript programming language, developed originally by Macromedia and later maintained by Adobe Systems.

Files with the .as extension store source code for Flash and Flex applications. An .as file can store instructions and function definitions, as well as variables and references to external or system resources (including system libraries). The source code must be compiled by Adobe Animate, the Apache Flex SDK, or Apache Royale into AVM bytecode embedded inside a .swf file that the Flash Player or AIR runtime executes; opening an .as file directly only reveals the human-readable code.

ActionScript is an object-oriented programming language built on the ECMAScript standard (the same specification underlying JavaScript). ActionScript was primarily used for developing and managing animations, banners, and interactive visual content on websites. ActionScript 3.0, released in 2006 with Flash Player 9, introduced a strict class-based model, a redesigned virtual machine (AVM2), and formal package/import syntax; an AS3 .as file typically begins with a package { } block containing import statements and a public class definition. ActionScript is a full-featured language capable of powering fully functional, interactive, and visually rich web applications, web-based games, forms, and advanced menus.

Adobe Flash reached end-of-life in December 2020, and major browsers removed Flash Player support. New interactive web work now favors JavaScript and TypeScript. The ActionScript language itself survives through the open-source Apache Royale project, which compiles .as and .mxml source files into JavaScript-based output that runs without Flash.

.as files store their content in plain-text format (UTF-8 or ASCII) and can be opened and edited using any text editor. However, it is recommended that .as files be edited with a dedicated tool such as Visual Studio Code (with an ActionScript extension) or Sublime Text, to take advantage of automatic keyword highlighting, syntax error detection, and code completion.

Безопасность и защита

РИСК: LOW

A .as file is plain-text source code and cannot run on its own, so simply opening it in an editor is safe. The caution is for developers: ActionScript code you compile and run can perform network calls, file access (within the Flash sandbox) and load other assets, so review untrusted .as before compiling and running it - just as with any third-party source code. Beware "free ActionScript decompiler" sites bundling adware; use reputable tools (JPEXS) when extracting AS from a .swf.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕActionScript Source Fileтакже известен как Adobe Flash ActionScript document, ActionScript class file
РАЗРАБОТЧИКAdobe Systems (originally Macromedia); language standardized on ECMAScriptс 1998 (ActionScript 1.0 in Flash 4); ActionScript 3.0 in 2006 (Flash 9/Flex 2)
MIME-ТИПtext/plain
ТИПPlain-text source-code file (ActionScript programming language)
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.do.md.hex.xsd
Это расширение также используется в…
  • Applesoft BASIC program - On Apple II emulators, .as can denote an Applesoft BASIC source/listing - unrelated to ActionScript; open in the emulator or a text editor.
  • ASCII text / generic source - Some tools use .as for generic ASCII data or assembly source; content is plain text identifiable by inspection.

Программы, открывающие файлы AS

Windows4 apps
Sublime Text Платно Open the .as for editing with ActionScript syntax highlighting.
Notepad Открытый код Open the .as as text with syntax highlighting - quick way to read the code.
Visual Studio Code Открытый код Open the .as to read/edit; install an ActionScript extension for syntax highlighting. The modern free choice.
Apache Royale / Flex SDK (to compile) Открытый код Use the Royale/Flex compiler to actually build ActionScript into runnable output (SWF or HTML/JS) - editors only view/edit; this compiles.
macOS2 apps
Visual Studio Code Открытый код Open the .as to read/edit; install an ActionScript extension for syntax highlighting. The modern free choice.
Sublime Text / TextMate Платно Open the .as as a text/source file for reading and editing.
Linux2 apps
Visual Studio Code Открытый код Open the .as to read/edit; install an ActionScript extension for syntax highlighting. The modern free choice.
Any text editor (gedit, Kate, vim) Открытый код Open the .as as plain text - it is human-readable source code.

Технические подробности

глубокая спецификация
Language paradigmObject-oriented, event-driven; class-based with single class inheritance and multiple interface support (ActionScript 3.0)
File encodingUTF-8 or ASCII plain text; no byte-order mark required
MIME type`text/plain` (primary); also `application/x-actionscript` and `text/x-actionscript`
File signatureNone - plain text; AS3 files identified by opening `package { }` declaration and `public class` keyword, not a byte signature
Target virtual machineActionScript 1 and 2 target AVM1; ActionScript 3 targets AVM2; the two VMs are bytecode-incompatible
Compilation outputCompiled to AVM bytecode embedded inside a `.swf` container; the `.as` file itself is not directly executable
AS3 file structureBegins with `package { }` block, followed by `import` statements and a `public class` definition containing methods and properties
Typical file size1 KB - 200 KB per class file; large projects contain many individual `.as` source files
Build toolchainAdobe Animate (formerly Flash Professional), Apache Flex SDK (`mxmlc` compiler), Apache Royale compiler (`asc2`)
Related compiled artifacts`.swf` (deployed application), `.swc` (compiled component library), `.abc` (raw AVM2 bytecode)
Platform supportCross-platform source file; Flex and Royale SDKs compile on Windows, macOS, and Linux
Post-Flash statusAdobe Flash Player reached end-of-life December 2020; ActionScript 3 continues via Apache Royale targeting HTML5/JavaScript output
ECMAScript conformanceActionScript 3.0 aligns with the ECMAScript 4 draft; shares syntax with JavaScript but adds static typing and a formal `class` keyword
Base classAll AS3 classes implicitly extend `Object`; display-list objects extend `DisplayObject` within the `flash.display` package
Выпущен1998 (ActionScript 1.0 in Flash 4); ActionScript 3.0 in 2006 (Flash 9/Flex 2)
Последняя версияActionScript 3.0 (2006); maintained today via the Apache Royale / Apache Flex SDK
Открыть стандартноеДа · без роялти
Спецификацияen.wikipedia.org

Конвертации AS

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами AS. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах AS.

Часто задаваемые вопросы

How do I open an AS file?
Open it in any text or code editor - VS Code, Notepad++, or Sublime Text - since .as is plain-text ActionScript source. For syntax highlighting, add an ActionScript extension. To actually run it, you compile it into a .swf.
Is an AS file a program I can run?
No. ActionScript .as files are source code, not executables. They must be compiled (by Apache Royale/Flex or Adobe Animate) into a .swf to run. Opening the .as just shows the code.
What is the difference between AS, FLA and SWF?
.as is ActionScript source code; .fla is the editable Flash/Animate design project; .swf is the compiled, playable output. The .as and .fla are what developers edit; the .swf is what users run (now via Ruffle).
Is ActionScript dead now that Flash is gone?
Flash Player's end-of-life (Dec 2020) ended ActionScript in browsers, but the language survives through Apache Flex and Apache Royale, which compile ActionScript/MXML to HTML/JavaScript. Most new work uses JavaScript/TypeScript instead.
Can I convert ActionScript to JavaScript?
To a degree - both descend from ECMAScript. Apache Royale can cross-compile ActionScript/MXML projects to HTML/JS, and hand-porting is common. It's a migration effort, not a one-click file conversion.
How do I compile an AS file into a SWF?
Use the Apache Royale or Apache Flex SDK compiler, or open the parent project in Adobe Animate and publish. A single .as usually belongs to a larger project, so you compile the project, not just the one file.

Ссылки

1Wikipedia - ActionScripten.wikipedia.org
2Apache Royale (modern ActionScript/MXML SDK)royale.apache.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.EXEWindows Executable (Portable Executable)
10.PRDXSoftMaker Presentations Document

Похожие расширения

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z