RSS

Tag Archive | "actionscript 3.0"

Saving User Generated Imagery from an AIR Application Using the JPG and PNG Encoder Classes and Flash CS4

Wednesday, April 1, 2009

4 Comments

Saving User Generated Imagery from an AIR Application Using the JPG and PNG Encoder Classes and Flash CS4

While anyone with an intimate knowledge of encoding bits of information can write their own JPG or PNG encoder, isn't it great to know that Adobe already provides classes to take care of it?

Continue reading...

How to create a simple Flash/PHP mail contact form with Actionscript 3.0 and MySQL

Tuesday, March 31, 2009

38 Comments

How to create a simple Flash/PHP mail contact form with Actionscript 3.0 and MySQL

In this tutorial I'm gonna show you how to improve our simple php, sending the info by mail and saving it on a MySQL DataBase using a custom MySQL class that we could reuse anytime and phpMailer, an open source class to send mails. And, of course, we gonna use a flash form to send the form instead of the html form.

Continue reading...

Alternativa 3D Series – Tutorial 4 – Working with Camera Controllers

Tuesday, March 24, 2009

3 Comments

Alternativa 3D Series – Tutorial 4 – Working with Camera Controllers

The vast majority of 3D flash applications you see on the net today are quite simple. For the most part they will be advertisements flipping a bunch of pictures around, a 3D photo album or something similar. However the Flash runtime is improving all the time, allowing more detailed and interactive applications. In fact I don’t think it will be long before Flash is the platform of choice for the sort of 3D games that were all the rage maybe 10 years ago. In order to take advantage of these new possibilities provided by Flash it is necessary not to just display a 3D world, but also to interact with and move around inside of it. Thankfully Alternativa already offers the developer a very easy way to move inside a 3D world with WalkController and FlyController (both of which extend the ObjectController class). With just a few lines of code you can move the camera, or any 3D object, around inside a 3D level with full collision detection.

Continue reading...

Dynamically loading fonts with FontLoader and applying styles with CSS stylesheet in Actionscript 3.0

Wednesday, March 18, 2009

11 Comments

Dynamically loading fonts with FontLoader and applying styles with CSS stylesheet in Actionscript 3.0

You are going to learn, how to easily load fonts apply a css stylesheet to a textfield. Until now, it has always been a big mess dynamicaly loading fonts. With the new fontloader from etcs.ru the process got easy as pie.

Continue reading...

Working with XML, E4X and ActionScript 3

Thursday, March 12, 2009

17 Comments

Working with XML, E4X and ActionScript 3

On more than one occasion I have asked developers if they had experience with E4X. I am often surprised to find that some aren’t sure what this amazing ”thing” is and others have been using E4X without even realizing it! In this article we will try to demystify the E4X.

Continue reading...

Alternativa 3D Series – Tutorial 3 – Loading Model

Tuesday, March 10, 2009

11 Comments

Alternativa 3D Series – Tutorial 3 – Loading Model

A basic function of any 3D engine is to load 3D models. Alternativa has the ability to load 3D models stored in both the 3DS and OBJ formats. In this tutorial we will learn how to load a 3DS model.

Continue reading...

Alternativa 3D Series – Tutorial 2 – Adding Material

Wednesday, March 4, 2009

5 Comments

Alternativa 3D Series – Tutorial 2 – Adding Material

In part one of this tutorial series you saw how to create a simple Alternativa 3D Flash application. The end result was a spinning cube, drawn with a wireframe material that displayed the edges of the polygons that made up the cube. In this tutorial I will show you how to add a material to the cube to give it a more appealing look.

Continue reading...

Simulating PicLens with Flex and Away3D – Part 3

Thursday, October 23, 2008

4 Comments

Simulating PicLens with Flex and Away3D – Part 3

Step by step guide for creating a PicLens type 3D photo viewer with Flex and Away3d. This is step 3, of a 3 part tutorial that will sweep many useful techniques used in web application design, Flex, and Flash 3D design.

Continue reading...

Simulating PicLens with Flex and Away3D – Part 2

Tuesday, September 23, 2008

12 Comments

Simulating PicLens with Flex and Away3D – Part 2

Step by step guide for creating a PicLens type 3D photo viewer with Flex and Away3d. This is step 2, of a 3 part flex tutorial that will sweep many useful techniques used in web application design, Flex, and Flash 3D design.

Continue reading...

Simulating PicLens with Flex and Away3D – Part 1

Wednesday, September 17, 2008

15 Comments

Simulating PicLens with Flex and Away3D – Part 1

This flex tutorial article is a Step by step guide for creating a PicLens type 3D photo viewer with Flex and Away3d. This is step 1, of a 3 part tutorial that will sweep many useful techniques used in web application design, Flex, and Flash 3D design.

Continue reading...