Flash
Making Flash 8's Default HTML Publish Command Write the HTML in SWFObject
http://flog.fluid.com/2006/05/05/swfobject-in-the-default-publish-profile/
This will make life easier when publishing from the IDE…[…]
AS3 and FP9 Seminar
Today I did another Flex Seminar for Adobe Developer week. Here are my rough notes…All i have to say is that Gary Grossman, is a freakin’ smart dude…
ActionScript 3.0 for Flash and RIA Developers Gary Grossman, Principal Scientist, Flash Player
New AS compiler and engine, all new components.
AVM = ActionScript Virtual Machine
AVM1 = Flash 4-8 AVM2 = New AVM (Flash Player 9 + AS3)
SWF files contain embedded AS bytecode Operating Stack, pop to other storage
DENG’s CSS Parser
10X increase in execution speed
Just in time compiler in AVM2-MIR Macromedia Intermediate Representation. Abstract commonalities between CPUs.
AVM2 Architecture: AS bytecode > .abc parser > Bytecode Verifier > Interpreter > JIT compiler > MIR Code Generator > MD code generator > x86 or PowerPc, ARM, etc. > Memory Manager / Garbage Collector
New Core Language Features: Natively supports classes at runtime level (AS2 compiled into AS1, backwards compatible to FP6 > Better performance)
Atoms: Primitive values-Atoms still exist in AS3, but only when type is unknown
AS3 Object Model: Traits Trait is a DB for a class, represent objects, tells object how to layout in memory
New int for id type stuff, uint for colors
Number is IEEE double precision number
AVM1 - everything was in a hash table, can’t make them full to optimize, more compact representation of the objects in AVM2
Type annotations are employed to efficiently store values as native machine types
Namespaces and Access Specifiers Public, private, protected (some classes can see those members, internal (visible within package)
Delegate is cleaned up
Optional paramters Rest arguments Regular expressions E4X: ECMAScript for XML XML added to the lexical grammar of the language e..name (descendent operator is ..) for each iterates over the range and give you all of the values
filter predicate e.employee.(@id==3).hobby = “working”;
AS2 Is not 100% standards compliant AS3 is 100% compliance with ECMA-262 specification, new language is based on new standards too
Flash Player API - Massive API cleanup, more consistent internally, organization into packages, added new functionality.
AS3: new MovieClip()
Move children, reparent the child, iterate over children (container.numChildren)
New class called Sprite (lightweight building block, components)
DOM Events System
AS3 - need to import flash.display.Sprite
Binary Sockets and Arrays - new class Socket like XMLSocket (only XML) New class ByteArray permits manipulation of arrays of bytes in memory, ByteArrays can be written to local SharedOjbects, sent over AMF calls, good for interoperation with existing code.
Visit Tinic Uro’s blog - www.kaourantin.net - PNG Encoding in AS
AS3 metadata AS3 will support generic collections is the future Appolo AS3 classes Flex 2 application class How has garbage collection been improved same as FP8 {} can put XML structure and put in dynamic substitution Operator overloading is not supported AS4 - not anytime soon, haven’t started talking about it Runtime profiling The bulk of the player is single threaded, but some multithreading Can’t tap into ByteArray with mic, must use NetStream Mozilla performance should be much better Destructors - objects are destroyed Finalize method in Java or C#. Graphics hardware in FP 10, hardware accelerators, leverage the GPU[…]
FlashTextFormatter plugin Test
[ftf w=”400” h=”100”]import mx.utils.Delegate;[/ftf][…]
2advanced Launches v5
I’ve been a fan for years…Eric Jordan and his team never seem to do anything less than amazing.
Also, Eric has a site (audio blog) dedicated to his spinning…there are some sweet mp3s of his mixes…
They also launched a blog site which is an interesting concept.
FlashTextFormatter plugin for Wordpress
http://www.zeuslabs.us/downloads#wp-plugins
This version is updated to use Geoff’s SWFObject. It’s compatible with Wordpress[…]