Ruben’s blog

Ruben Swieringa on Actionscript and a whole lot of other stuff..

Category: Actionscript

“could not resolve <mx:…> to a component implementation”

If you have ever tried to add mx.core.ToolTip (or certain other classes) as a mxml-tag to your Flex project then you might’ve run into the following compiler-error:
“Could not resolve <mx:ToolTip> to a component implementation.”
So why does Flex (or rather MXMLC, the compiler) let you write <mx:Button> and <mx:Canvas> and all those other Flex components, but [...]

Flash Player 10 crashes Internet Explorer with H.264 video

At work we ran into this bug the other day, looking into it I found out that Adobe hasn’t put any effort into documenting this one so I thought I’d give it a shot myself in order to try and raise awareness.
In short, the bug occurs with Flash content playing H.264 video in Internet Explorer [...]

A different use for custom namespaces (2/2)

This post provides some example-code for the concept presented in my previous post, please note that this post serves only to add some concrete material to the abstract idea presented in the previous post and that the focus should be on the latter rather than the former. This post is not at all about best [...]

A different use for custom namespaces (1/2)

When namespaces were first introduced in Actionscript 3 I thought it was all pretty cool, but still I sort of had a difficult time thinking of actual use-cases.
What I initially would have liked to use custom namespaces for was to restrict access to certain properties/methods, to only be accessible for certain classes, in the way [...]