Quantcast
Channel: connectedpixel.com - Flash
Browsing all 10 articles
Browse latest View live

Component Array Parameter Gotcha

So the other day, I was working on a component that has an inspectable set/get array property. I could not get it work. Although the default value for this array was not zero length and the parameter...

View Article



#include for jsfl

Unlike ActionScript, JSFL does not have an include directive. I've started writing some useful jsfl classes, but having no include means a lot of copying and pasting and duplicated code. This is a bad...

View Article

Flash Perlin Texture Components: Wood and Marble

A while back, I wrote about rendering Wood and Marble using Perlin noise. But I've found that these code bits are a pain to use. You need to write code just to see them. You can't work with them in the...

View Article

Simulate download: Static vars not re-initialized

The 'Simulate Download' feature in the Flash IDE is very useful. It can help debug race conditions that are a cause of intermittent problems. However, it can also lead you astray. Problem: AS2 static...

View Article

Face Morph - Part 1, Morphin' George

Unlike Grant Skinner's gooify, which is a free-form distortion, the morph presented here is more constrained. It has an editable triangle meshread more

View Article


Array.sortOn does not work with MovieClips

This problem drove me crazy. I'd thought I'd get it in the google-verse so anyone else who runs into it can benefit from my pain.Array.sortOn() does not seem to work when the array elements are objects...

View Article

Preprocessor ASSERTS in ActionScript

Unlike most other computer languages, when ActionScript code fails, it fails silently. If my code sends an undefined argument to a function, there is no crash, no alert message, nothing scary.Overall,...

View Article

The Unbearable Strangeness of Embedding Fonts

The 'why' and 'how' of embedding fonts is a Flash 101 topic. The main 'why' is that the user can't see fonts that she doesn't have. If your swf uses these fonts, you need to bundle them in the swf (or...

View Article


More embedded font strangeness – CSS

I thought I was done with the Flash-embedded-font in my previous blog entry, but there is more. I received an email requesting help with CSS and embedded fonts, and when I looked into it, found some...

View Article


Callback filter functions in E4X

While porting some xpath-heavy AS2 code to AS3, I ran into problems. E4X (new and improved xml support in AS3) seems to make xpath obsolete. However, all the E4X query examples in the docs use...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images