Articles about ActionScript’

May 27, 2009

“Blender to Flash Workflow” article in Flash & Flex Developer’s Magazine

Posted by Dennis in 3D, ActionScript, Blender, Flash 7 comments

The latest issue of Flash & Flex Developer’s magazine features an article written by me called “Blender to Flash Workflow”. This article explains how to:

create a simple 3D object in Blender
create a material in Blender
export the primitive and the material so that it can be used in Flash
set up a basic 3D scene using the [...]


Mar 9, 2009

Optimising the data loading process with Flex, AIR & Ant: compiled SWF files instead of verbose XML files

Posted by Dennis in AIR, ActionScript, Flex 6 comments

The project I’m currently working on needs to load large amounts of data. The application uses data which is supplied to us in the form of Excel sheets. The data for one object consists of 4500 records.
XML files are typically used for this kind of task. However in this case the XML files are huge. [...]


Mar 5, 2009

Sandy 3.1 Released

Posted by Dennis in 3D 3 comments

A new version of the Sandy 3D engine has just been released. Due to time constraints, my contribution has been zero this time.
The new version is more stable and faster than the previous ones. If you’re upgrading from a previous version you should be aware that some things in the API have been changed. Be [...]


Feb 19, 2009

Easy deep clone method made easier

Posted by Dennis in ActionScript, Flash, Flex 7 comments

In a previous post I talked about an easy deep cloning method I found and which I tweaked a little.
While I was crammed in the tube yesterday (sometimes the best ideas are born in the underground) I came up with an idea to simplify and generalise this even further. The problem with the current method [...]


Feb 10, 2009

Easy deep clone method for ActionScript 3.0

Posted by Dennis in ActionScript, Flash, Flex 5 comments

UPDATE: I’ve made this made more flexible. Read this.
I stumbled upon this method via the ActionScript 3 Design patterns blog. This method is commonly used in Java to make a deep copy of an object. I tried the example but couldn’t get it to work. When I casted bytes.readObject() it always returned null. I found [...]


Feb 5, 2009

Debug Flash/Flex & Air with De MonsterDebugger

Posted by Dennis in AIR, ActionScript, Flash, Flex 5 comments

I highly recommend this debugger. It is an AIR application that has many useful features and will make your life much easier. Some of those features are:

detailed traces (trace strings and objects, which you can expand)
edit properties at runtime
method testing
a tree structure with which you can walk through the application

On top of that, it is [...]


Dec 19, 2008

Blender exporter updated for Away3D 2.2.0

Posted by Dennis in 3D, ActionScript, Blender 1 comment

Andrea Boschini from Panurge Web Design was kind enough to change the exporter script so that it supports Away3D 2.2.0. Download it here.
Thanks Andrea!


Dec 10, 2008

New Blender to Papervision3D XML exporter

Posted by Dennis in 3D, ActionScript, Blender, Flash No comments

Mike Lively, who’s writing a book about Papervision3D, has released a new Papervision3D XML exporter for Blender. He has used my Blender to ActionScript exporter script as a base for his script.
Another useful exporter for Blender! Go checkit out:
,
New Blender XML Exporter/PV3D XML Primitive


Oct 21, 2008

Getting rid of a button’s border/linkbutton’s background roll over state in Flex

Posted by Dennis in Flex 11 comments

Some Flex components have visual elements that cannot be controlled with CSS. Have you ever tried removing the border of a Button or the roll over background color of a LinkButton? I had this problem a few times before and the solution to this is very simple. Just reset the skin

.myButtonStyle
{
skin: ClassReference(”mx.skins.ProgrammaticSkin”);
}


Aug 12, 2008

Blender exporter for Sandy, Papervision3D and Away3D updated

Posted by Dennis in 3D, ActionScript, Blender, Flash, Flex 2 comments

The export script for Blender has been updated. It is now compatible with the latest versions of Papervision3D (2.0) and Away3D (2.1.0).
It also contains a bugfix that solves an annoying problem with the “choose engine” dropdown menu.
Download the script here.