ActionScript

Feb 23, 2010

Blender Exporter Updated: ActionScript Vectors Support (FP10)

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

Another update to the Blender to ActionScript exporter. I’ve added the option to export to ActionScript Vectors. This way you can use the exported data with native Flash Player 10 3D. The export is quite basic, there’s still stuff you have to do yourself. This is the data that is exported:

vertices
indices
texture coordinates
scaling
translation
rotation

This example source code [...]


Jan 28, 2010

Blender to ActionScript Exporter Updated: Away3D Lite 1.0.2

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

Another update to the Blender to ActionScript exporter. Away3D Lite 1.02. has been added to the list. Download it from the usual place here.


Oct 28, 2009

Blender to ActionScript Exporter Updated: haXe Support

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

The haXe port has become the main focus of the Sandy 3D engine. Why use haXe? According to the Sandy website:
“There are some good reasons why you might want to use haXe: performance, ability to cross language boundaries, a language packed with features. Sandy provides a native implementation, bringing with it all the cross-platform and [...]


Oct 19, 2009

Download AS3 libraries to Eclipse/FDT/Flash Builder/Flex Builder plugin updated

Posted by Dennis in ActionScript 5 comments

Many people who downloaded and installed the plugin asked me if I could add the option to add frameworks and repositories.
I just uploaded a new version that enables you to do so. I added a dialog in the Eclipse Preferences window where you can select which frameworks you want to see in the context menu. [...]


Oct 15, 2009

Book Review: Papervision3D Essentials

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

Packt Publishing sent me book for review. So here we go …
Authors: Paul Tondeur (www.paultondeur.com) and Jeff Winder (www.jeffwinder.nl)
Publisher: Packt publishing (www.packtpub.com)
Pages: 407
Finally there is a book about the most popular 3D engine for Flash, Papervision3D. With a lot of information scattered about on the internet there is a huge need for something coherent. This [...]


Oct 9, 2009

Eclipse Plug-in: Download AS3 libraries straight to your Eclipse/Flex Builder/FDT project

Posted by Dennis in ActionScript 40 comments

Do you use ActionScript frameworks a lot? Are you tired of always downloading each framework from different websites when setting up a new project in Eclipse, Flex Builder or FDT? Well, be tired no more
I was getting sick of this myself so I wrote a plug-in that makes this a lot easier. Just [...]


Sep 23, 2009

Blender exporter updated: Away3D Lite 1.0

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

Away3D Lite 1.0 has been released a few weeks ago. According to the Away3D team:
“Away3D Lite is the fastest and smallest fully featured 3d engine in Flash to date“
Sounded like a good reason to update the Blender to ActionScript exporter! The updated script can be found on the usual page here.
Example files can be found [...]


Aug 21, 2009

getDefinitionByName, ReferenceError and the Frame metadata tag

Posted by Dennis in ActionScript, Flex 1 comment

The hard-working, unstoppable Meister Wanja came to me with the following problem involving getDefinitionByName and interfaces. Say you have the following class:

package {
import flash.display.Sprite;
import flash.utils.getDefinitionByName;

public class Blah extends Sprite
{
public function Blah()
{
var ref : String = “YourMama”;
var ClassRef : Class = getDefinitionByName( ref ) as Class;

var booh : IMama = new ClassRef();
}
}
}

Build it, run it and [...]


Aug 20, 2009

3D, ribbons, vertices, uv coordinates

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

Yesterday I helped my friend Tudor with a problem. When we solved it he got excited and told me to blog about it. Whatever Tudor says has to be done so here we go :-).
He was using the Ribbon3D class which is based on Papervision3D. Instead of using a color material he wanted to use [...]


Aug 6, 2009

“Blender to Flash workflow” article now available for free

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

The March 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 [...]