Posts Tagged casts

Cast Speed

One of the first articles I wrote for this site covered the two types of casts available to the AS3 programmer. In that article I covered the syntax of the two as well as some of the quirks. Today I’ll cover the performance differences between them.

Read the rest of this entry »

Tags: , , , ,

30 Comments

Making Vectors Out Of Mixed-Type Arrays

The chief quality of Vectors is that they hold a single type of object. This is why they are sometimes called “typed arrays”. So what would happen if you wanted to convert an array of mixed-type objects into a vector?

Read the rest of this entry »

Tags: , ,

No Comments

Converting Vectors to Arrays

Vectors– typed arrays in AS3– are much quicker than arrays and therefore very useful. There are many times where you end up with arrays though and need to convert them into vectors for the bulk of your using that data. This article is about that process.

Read the rest of this entry »

Tags: , ,

2 Comments