Flash Isometric Engines overview
Emanuele Feronato gives a brief description of 11 Flash isometric engines.
FZlib: Zlib in pure ActionScript
FZlib is a port of Zlib 1.1.3 in ActionScript.
zlib is designed to be a free, general-purpose, legally unencumbered — that is, not covered by any patents — lossless data-compression library
Flash provides some ways to compress / uncompress data, but functions are basic. You can’t change the compression method, for instance, or handle a Zlib stream.
With FZlib, all the power of zlib could be unleashed in ActionScript!
FZlib features
- No need to say that FZlib can inflate data, which is deflated by zlib (or ByteArray.compress()) and FZlib can generate deflated data, which is acceptable and is inflated by zlib (or ByteArray.uncompress()).
- FZlib supports every compression level and every flushing mode in zlib.
- FZlib does not support gzip file handling.
- FZlib is licensed under BSD style license
- No breakthrough has been done by developing FZlib. So, if zlib is patent free, FZlib is also not covered by any patents.
Grab it here.
“Сырой” флеш – шейпы изнутри
Claus Wahlers рассказывает, как флеш плеер обрабатывает шейпы.
So, for the record, SWF shape records kinda translate to AS3 drawing API calls, but not really – there are quite a few nuts to crack along the way. It is not as easy as it initially sounds, and little of this is officially documented or explained in Adobe’s SWF10 specification (or anywhere else for that matter), so i thought i document my findings here.
AS3 Script Injection
Интереснейшая статья о Script Injection в AS3:
In AS3 Script Injection, complete and unmodified JavaScript and/or VBScript functions, class objects and applications are stored inside AS3 files using XML, and are then parsed, sent to the browser, and executed, allowing Flash and Flex developers to create a robust browser experience without the need to rely on server-side support scripts.
This tutorial will show how to inject and execute complete JavaScripts and VBScripts into a webpage through ActionScript 3’s ExternalInterface Class. In addition, we will show how to store and modify complete JavaScript and VBScript scripts directly within AS3 sourcecode, where they may be safely kept until needed. Most of the techniques here may also be applied to AS2 applications with some minor modifications (which will be discussed).
Защита SWF файлов от декомпиляции
Очень интересная статья о том, как защитить свои флешки от декомпиляции своими силами.
Секреты файла mm.cfg
Все слышали о файле настроек mm.cfg
Jean-Philippe Auclair пишет о недокументированных настройках, весьма занимательно.
PNGSizeExtractor
Как вы знаете, максимальный размер битмап даты – 2880×2880. Если загружаемое изображение превышает данный лимит, то свойства heigth и width объекта будут равны 0.
Крисофер Херман написал небольшой класс, позволяющий прочитать размер разгружаемого изображения в формате PNG. Таким образом можно узнать размер любого изображения и предупредить пользователя о слишком большом изображении.
Читать тут.
А тут аналогичный класс для JPG картинок плюс детальное описание принципов работы.
.sol Editor
Если вдруг вам захочется посмотреть/поменять sharedObjects, то для этого можно воспользоваться програмкой .sol Editor. Чтение и запись в shared objects, плюс привязка к расширению .sol.
Vizzy remote debugger
Vizzy – утилитка, которая упрощает работу с Debug flash player, и позволяет удобно просматривать логи, которые он сохраняет.
Список фич версии 2.0
- Flash Player Policy file reading option.
- Flash Player detection at first launch.
- search results are displayed besides the scroll bar
- log file read frequency is configurable
- multi-platform (Windows, Mac, Linux)
- batch files to run Vizzy on every platform
- mm.cfg file automatic creation
- flashlog.txt file location automatic detection
- comma separated filtering for multiple keywords
- restore window on trace log update if minimized
- quick search with F3 key (highlight any word and press F3).
- highlight-all search mode
- always on top mode
- word wrapping
- clear log button
Скриншот:
