Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

Tutorial: About the AIR Update for Flash CS3

Posted September 21, 2007 by senocular

Another AIR tutorial, this one covering some information About the AIR Update for Flash CS3. If you're developing AIR applications in Flash or want to develop AIR applications and think you can only do it in Flex when all you have is Flash, this update is for you. The tutorial describes what the update adds to Flash and where you can get it.

Tutorial: AIR 101 - An Introductory Guide

Posted September 18, 2007 by senocular

I made a new tutorial today about AIR. Its a very basic introduction quickly covering what AIR is and how you can use the SDK with a text editor to make a Hello World example.

AIR 101

AS3: XMLDefinition - object definitions in XML (MXML for Flash CS3)

Posted August 09, 2007 by senocular

This XMLDefinition class lets you define objects in ActionScript using XML. The XML is logical and intuitive matching the AS definition about as close as I could get it. So, for example, to represent a generic object with the value "bar" in a variable foo, you would use <Object foo="bar" />. Using XMLDefinition.parse() an actual AS Object can be generated from that XML. Similarly, XMLDefinition.create() will generate XML from an existing definition. You can see more in the XMLDefinition example (w/source).

AS3: Layout class for Flash CS3

Posted August 01, 2007 by senocular

One thing that a lot of Flash users like about Flex is its use of constraints in laying out a design. This class - rather, a collection of 3: Layout, LayoutConstraint, and LayoutManager - provide that functionality to objects in Flash CS3 through ActionScript 3 using a somewhat similar API (though ActionScript only, no authoring interface). Using these classes you can constrain objects to the top, right, bottom, left, or center them horizontally or vertically within a layout. There are also controls for height and width as well as a property for maintaining aspect ratio.

I have created a number of examples demonstrating the use of the classes, all of which can be found on the download/demo page.

WIP CS3 AS3 Tutorial: Simple Drawing Application with Mouse Events

Posted July 22, 2007 by senocular

The ActionScript 3 with Flash CS3 tutorial has been updated once again with an example of using some basic mouse events to create a simple drawing application.

WIP CS3 AS3 Tutorial: Dynamic Objects from Library with Arrangement Example

Posted July 17, 2007 by senocular

The latest addition to the ActionScript 3 with Flash CS3 tutorial is an example in the display objects section covering creating objects (movie clips and bitmaps) dynamically from the library. In addition to placing them on the screen, they are also arranged based on their vertical position so those objects higher on the screen are arranged below those lower.

WIP CS3 AS3 Tutorial: Drawing API and RSS Reader Examples

Posted July 13, 2007 by senocular

I've been trying my best to keep up with the ActionScript 3 with Flash CS3 tutorial, this time with the addition of some examples (source files are available for download on the first page); one including drawing a checkerboard with the vector drawing API, and the other is a simple RSS reader using the MXNA feed. Also, I've included some more graphics throughout all of the tutorial that should help visualize some concepts.

New Flash Player 9 Update Posted

Posted July 11, 2007 by senocular

If you haven't already noticed, there's a new version of the Flash Player posted on the Adobe.com website. This version is 9,0,47,0 (you can check your current version from the About Adobe Flash Player page). For more information, see the release notes.

WIP CS3 AS3 Tutorial: E4X XML with Namespaces

Posted July 10, 2007 by senocular

Another update to the ActionScript 3 with Flash CS3 tutorial. Now there is some content concerning namespaces with XML. Also, the first page has been broken up into 2 other pages; the new XML content is at the bottom of page 2.

WIP CS3 AS3 Tutorial: Dynamic MovieClips/Bitmaps from Library

Posted July 09, 2007 by senocular

I've updated some content within the ActionScript 3 with Flash CS3 tutorial. Most of the updates involve working with display objects and dynamically creating them from your library. There are some other additions scattered throughout the tutorial as well, but to make is easier on people keeping up with it as it evolves, I've made it so (most of) the newest content will be identified with a green bar in the left margin. This is currently the case with the current updates and as new updates are added, that bar will fade and the newer content will inherit its color.