background preloader

AS3

Facebook Twitter

Flex 3 - Adobe Flex 3 Help. Coding Conventions. How to correctly insert a Flash into XHTML » La Trine. Although flash is the most spread active element of webpages, a lot of designers still don't know the correct way to insert it into HTML document..

How to correctly insert a Flash into XHTML » La Trine

The standard concept, advertised by Macromedia is absolutely unusable. Just a reminder: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="550" height="400"> ... <param name="movie" value="movie.swf" /><param name="quality" value="high" /> ... <embed src="movie.swf" quality="high" bgcolor="#ffffff" width="550" height="400" type="application/x-shockwave-flash" pluginspage=" Flex 3 - Adobe Flex 3 Help. Devmtg/2008-08/Petersen_FlashCCompiler_Hi.m4v. Lua-alchemy - Port of the Lua programming language for ActionScript using Alchemy. Background Lua is a great dynamic programming language, Adobe Flash is a great universal platform for applications and Adobe Alchemy is the tool to bind them together.

lua-alchemy - Port of the Lua programming language for ActionScript using Alchemy

A demo can be found here: Can you help us? Lua Lua is a powerful, fast, light-weight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. . -- Global Variables. To _root, or not to _root? Posted on March 1, 2005 by Grant Skinner Stacey Mulcahy posted on her blog last night asking “Why is _root evil personified“.

To _root, or not to _root?

I posted a bit of a long-winded reply, which I decided to flesh out and re-post here, mainly so that I have my own record of it to point people to when they ask this question (it seems to come up a lot). She also followed up asking the same question about _global, which can be answered in exactly the same manner.

First off, using _root isn’t necessarily wrong, but it can cause you some major headaches as you move from the world of scripting small Flash pieces to programming larger projects. If you’re building one-offs, prototypes, or other projects that have a limited lifespan, won’t expand, and will never be incorporated in a larger system then there’s nothing wrong with using _root to hack things together quickly. Wrap.de - Flasm. Event - ActionScript 3.0 Language and Components Reference.

UTF-16 representation in a ByteArray... I'm totally out of my depth here, but that is how I learn stuff myself.

UTF-16 representation in a ByteArray...

So I'll flail around a bit more. Apparat - A framework to optmize ABC, SWC and SWF files. IMPORTANT: Apparat has moved to GitHub.

apparat - A framework to optmize ABC, SWC and SWF files.

You can fork it via A framework to optimize ABC, SWC and SWF files. Apparat features include Compression 7-Zip DEFLATE compression LZMA compression ABC merging Constant pool sorting DefineBitsLossless2 to DefineBitsJPEG3/4 conversion Bytecode merging Bytecode replacements Flowgraph optimizations Sliding-window optimizations Code analysis UML diagram generation Bytecode flowgraph generation Static check for [Abstract] methods Detailed ABC information Code coverage instrumentation Typesafe trace() removal keeping side-effects ASMify existing code Optimization Generic peephole optimizations InlineExpansion MacroExpansion InlineAssembler Access to Alchemy's fast memory operations Special transformations for Alchemy-generated code C inspired Structure type Getting Started.

Supercharge your ByteArray operations using Azoth. (edit: take a look at my next blogpost for more fun with Azoth !) I recently came across an interesting use of Adobe’s Alchemy technology. Basically what Alchemy allows you to do is run compiled c/c++ code inside of the ActionScript Virtual Machine. Alchemy. AZOTH Alchemy Opcodes Injector - Replaces calls to fastmem class with Alchemy opcodes (AS3/SWF 10+) January 30, 2013: Alchemy opcodes reclassified as non-premium :) From the Adobe FAQ: What are the XC APIs?

AZOTH Alchemy Opcodes Injector - Replaces calls to fastmem class with Alchemy opcodes (AS3/SWF 10+)

The XC APIs are the combination of domain memory APIs and Stage3D hardware acceleration APIs. These cross-compilation APIs allow a 3rd party ecosystem of game development tools to target Flash Player, including languages such as C/C++ and tools like Unity, as well as the Adobe Flash C++ Compiler (flascc) cross-compiler. What is the status of the XC APIs? As of January 2013, the XC APIs are no longer classified as a Premium Feature and access no longer requires a separate license from Adobe, nor royalties. Developers and publishers that have published content using the XC APIs do not need to make any changes to their content to reflect the change in status for the XC APIs and licensing terms. Why is Adobe changing the licensing requirements for the XC APIs?

December 4, 2012: Adobe released Alchemny as FlasCC. What are the premium features? July 28, 2011: AZOTH version 1.05 released! Base64 Optimized as3 lib. BlooDHounD's workspace - blooddy_crypto.swc banchmark. /trunk/Experiment/Base64/ Using Vectors in ActionScript 3 and Flash Player 10. One of the new ActionScript features included in the Flash Player 10 Public Beta is the inclusion of a Vector class.

Using Vectors in ActionScript 3 and Flash Player 10

Essentially, the Vector class is a typed Array, and in addition to ensuring your collection is type safe, can also provide (sometimes significant) performance improvements over using an Array. Using the Vector class is pretty simple, and very similar to using an Array. In fact, the Vector class contains all of the same methods as the Array class.

The main difference is how you instantiate it. For example, here is how you instantiate an Array: <! MonkeyPatching. Yep, “MonkeyPatching” is the hot new word of the day.

MonkeyPatching

All the cool bloggers are dropping it left and right. I’d never heard the term til a few weeks ago. Now it seems I can’t go a day without reading it in at least a couple blog posts. But until this morning, I didn’t really know what it meant. I had my own invented meaning – something vague about writing some hack to fix someone else’s broken code. jActivating - Solution to "Click to activate and use this control" issue. Forums - View Single Post - Using getDefinitionByName to Make Static Function Call.