Flash Archive
More cryptic notes to myself about execution order in Flash
When a nested MovieClip with a custom subclass is created, the order is something like this (I think):
the asset is created (as a “plain” MovieClip: it has its name, dimensions, etc, and can be referred to by name from the containing MovieClip, but it has no methods or properties of its ActionScript class)
its constructor is [...]
Nested MovieClip subclass gotcha in ActionScript 2
[UPDATE: It looks like Colin Moock's excellent book Essential ActionScript 2.0 talks about this very situation, on page 328. His workaround is to use setInterval to poll the object to see if the custom methods/properties have been set up yet.]
This kind of stuff is always a bit difficult to describe clearly, so I might not [...]
MovieClip.curveTo() drawing bug
I’ve recently encountered drawing glitches in MovieClip.curveTo() when using a thick pen.
In the following demo, drag the little circle handle left and right. The text box updates to display the “X” value of the handle.
This movie requires Flash Player 9
swfobject.embedSWF(”/static/curvetest/curvetest2.swf”, “swfbb3d1″, “400″, “200″, “9.0.28″, “”, {}, {wmode: “window”, menu: “true”, quality: “autohigh”, bgcolor: “#FFFFFF”, allowFullScreen: [...]
JSFL in Flash CS3
I still don’t have Flash CS3, but I was wondering what was changed in JSFL in the new release. The info is on livedocs. Alas, as far as I can tell, there is no event or anything sent when the selection changes, which would be a great help. Oh well. Maybe in the next version? [...]
Blogging FITC
…that is to say, I feel I should be blogging it, but I haven’t so far
Right now I need to sleep. Perhaps tomorrow I will at least jot down a handful of short notes on it.
FITC!
I’m going to FITC this year! I’ve thought of going before, especially since I’ve lived in Toronto for the last four years, but I didn’t have the means. I’m pretty excited.
If anyone reading this is going and wants to meet, let me know
Looking at Flash Lite
I recently bought a new cellphone, and it turns out that it supports Flash Lite 1.1. I thought I’d try it out– I’ve developed for cellphones before, using J2ME and BREW, but using Flash for mobile development seems much more appealing.
Alas, Flash Lite 1.x uses a very old form of ActionScript, one that I’d never [...]
A (probably obvious) FLV playback gotcha
So I’ve been learning how to play back FLVs with ActionScript. It’s pretty simple, but my first tests weren’t working. I spent some time scratching my head, because my test was a simple modification of the sample code provided in Learning ActionScript 2.0 in Flash.
What was going wrong?
I had taken the sample code and placed [...]
Hi5 HTML filtering stupidity
Hi5, another social networking site, filters HTML code oddly.
Embeds are allowed (I don’t think they used to be), but if there are any percent signs (%) in the embed’s attributes, it doesn’t display. Further testing reveals that hi5 seems to strip out any tag that has attributes that contain any URL-encoded entities in it at [...]
Flash Player security misunderstanding
Up until now, I had been making some incorrect assumptions about Adobe Flash Player’s security model.
I had assumed that a SWF could not access anything outside of the domain from which it had been served, in general, without special allowances made by things like crossdomain.xml or System.security.allowDomain().
What I didn’t realize is that these domain restrictions [...]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


