New build of FlashDevelop 3 released: Beta 8
August 26, 2008
This release is long overdue but there were a few issues that we wanted to resolve and then there were summer vacations...
There are quite a lot of new features and really nice stability improvements, we hope that all of you enjoy this release!
About FlashDevelop:
* Features
* Screenshots
Changes:
GUI:
* New "fullscreen" editor mode
* New common GUI for AS2Api and ASDoc
* SWF exploration shows the frame where definitions are imported
ActionScript:
* Fine tuned code completion
* Dynamic syntax highlighting: custom classes get colored like flash classes (MovieClip, Event, etc)
* Completion for package-level declarations and Flash 10's Vector.
* New generator: Ctrl+Shift+1 on a non-imported type to generate the import
* Go To Declaration (F4) with SWC classes display a generated pseudo-class
* Improved generators
* Tags with ID now appear in outline view and script code completion
* Updated completion (generated using a tool available in SVN)
Templates:
* Improved MXML projects templates
* New optimized AS3 project template with preloader (no Flex dependencies)
* Templates now include an index.html with swfobject.js
PHP:
* Now featuring simple PHP completion
Important:
* Backup your customized user files: The setting files have changed quite a lot so check before you overwrite the new ones.
* Get Adobe Flex 3 SDK. The free Flex SDK (2 or 3) is required for ActionScript 3 development if you don't use Flash CS3.
* Get the debug Flash player (you need: projector and Active X)
* Java 1.6+ is required for the Flex compiler (ActionScript 3).
Download:
Built from rev. 36
Download FlashDevelop 3.0.0 Beta8
A job change for me: joining Club Penguin
Club Penguin has another position open right now:
http://www.clubpenguin.com/
I don't know what Adobe's plans are for my former position, but you can keep an eye on their job postings here:
http://cooljobs.adobe.com/frameset.html?goto=er-joblist
At Club Penguin I'll be taking on massively multiplayer online game development, an exciting new challenge. I'll also be responsible for mentoring the ActionScripters here, equipping them with the best knowledge, tools and practices for Flash development. I'll be advocating for some of my hobby horses like OOP, TDD and AsUnit, pair programming, refactoring, Agile practices, mtasc and mxmlc, SVN, continuous integration, FlashDevelop and Flex Builder. I love both teaching and creating so this will be a nice blend of the two.
Creating AS3 Components in Flash: The Lost Chronicles - A Kamerer Adventure
September 28, 2007
-- Posted by SmackMe
Scream no more, Sir SmackMe. You just been smuck'd with an epic mini-series on component creation, now up on Adobe's Developer Center. My colleague Jeff Kamerer, engineer on the Flash Authoring team, has written basically a thesis, a small book on how to make your own AS3 components with the Flash CS3 framework. When Jeff sent me a draft six weeks ago, it was 32,000 words and 102 pages. He's not kidding around.
Here's the summary of what's covered:
http://www.adobe.com/devnet/flash/articles/creating_as3_components.htmlCreating ActionScript 3.0 components in Flash
After following along with this series, you will learn how to do the following:
- Set up the layers and frames in your component movie clip symbol
- Implement Live Preview for your component
- Dispatch events
- Support styles and easily editable skins
- Manage drawing with the invalidation model
- Manage focus
- Handle keyboard input
- Create a compiled clip shim for your ActionScript definitions
- Deploy your component to the Components panel
JSFL updated to JavaScript 1.6, gains E4X
August 10, 2007
SpiderMonkey 1.6 introduced JavaScript 1.6, which is JavaScript 1.5 plus several new features:
[from http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6]E4X
ECMAScript for XML (E4X) is a programming language extension that adds native XML support to JavaScript. It does this by providing access to the XML document in a form that feels natural for ECMAScript programmers. The goal is to provide an alternative, simpler syntax for accessing XML documents than via DOM interfaces.
E4X is standardized by Ecma International in ECMA-357 standard (currently in its second edition, December 2005).
E4X is implemented (at least partially) in SpiderMonkey (Gecko's JavaScript engine) and in Rhino (JavaScript engine written in Java).
Array Extras
There are seven new
Arraymethods that can be separated into two categories, item location methods and iterative methods. The item location methods are:
indexOf()- returns the index of the given item's first occurrence.lastIndexOf()- returns the index of the given item's last occurrence.The iterative methods are:
every()- runs a function on items in the array while that function is returning true. It returns true if the function returns true for every item it could visit.filter()- runs a function on every item in the array and returns an array of all items for which the function returns true.forEach()- runs a function on every item in the array.map()- runs a function on every item in the array and returns the results in an array.some()- runs a function on items in the array while that function returns false. It returns true if the function returns true for any item it could visit.For more information, see Nicholas C. Zakas' article, Mozilla's New Array Methods.
Array and String Generics
Sometimes you would like to apply array methods to strings. By doing this, you treat a string as an array of characters. For example, in order to check that every character in the variable str is a letter, you would write:
function isLetter(character) {
return (character >= "a" && character <= "z");
}
if (Array.prototype.every.call(str, isLetter))
alert("The string '" + str + "' contains only letters!");This notation is rather wasteful and JavaScript 1.6 introduces a generic shorthand:
if (Array.every(str, isLetter))
alert("The string '" + str + "' contains only letters!");Similarly you can easily apply String methods to any object:
var num = 15;
alert(String.replace(num, /5/, '2'));
Firefox 2 introduced JavaScript 1.7, which has some quite interesting features like generators and iterators. In the future, SpiderMonkey and Firefox will integrate the Tamarin virtual machine, which today runs ActionScript 3.
So JSFL developers gain some tools in Flash CS3 just from the SpiderMonkey update. As well, we added a number of new JSAPIs, which I'll talk about in a later post.
Links for Copy Motion as ActionScript 3
Adobe Resources
- LiveDocs: Copy Motion as ActionScript 3
- Video Tutorial by Chris Georgenes
- Adobe Developer Center: Creating animation in ActionScript 3.0
- LiveDocs: Motion XML Elements
- LiveDocs: fl.motion package
- My FITC 2007 Presentation Slides
Blogs
- Kevin Hoyt: Copy Motion as AS3
- Galvan on Flash: Copy Motion to ActionScript 3
- Galvan on Flash: Using Copy Motion to ActionScript 3 with Flex
Enthusiasts
Welcome
Life at Adobe
In April 2006, I joined the Adobe Flash Authoring team as a software engineer, specializing in ActionScript and JSFL. I've always enjoyed creating tools for the Flash community. Now I have the privilege of expanding the Flash tool itself, together with a team of extremely talented people.When your colleagues can add C++ and JSFL features for you on demand, and they say, "here, enjoy your new build of Flash"--now you're playing with power! At one point last year I said to my manager, "You know, I could really use some XML parsing in JSFL." Jethro says, "Sure, I'll look into that." Next thing I know, he's dropping in E4X himself. "Thanks, boss."
Areas of Interest
- In Flash CS3, Copy and Paste Motion and Copy Motion as ActionScript 3.0 were my main responsibilities. These features are fairly simple to use in their core use cases. But there are lot of subtleties once you dig a little deeper, which I'd like to explore.
- I've been working a lot with JSFL, XML, E4X and, of course, AS3.
- Tweening, easing and the Timeline are never boring.
- I majored in philosophy, so the occasional "analog moment" may sneak in. =)
