Tag Archives: as3

AS3: Drawing dynamic anchor lines

Based on this post on the Adobe’s AS3 forum, I thought  I would create a simple class that takes care of the requested task. The whole idea is basically to draw a line dynamically between 2 displayobjects, on top of it when one object is being dragged the line is redrawn along based on the [...]

SWFObject & SWFAddress – compatibility

Who doesn’t know SWFObject & SWFAddress? These two JavaScript buddies are the best a serious Flash Developer can have. SWFObject embeds your Flash nicely and browser independent, it has gone a long way and now it’s even the default publishing method in Flash Builder and Flash Catalyst (not sure about Flash CS5 ), you can [...]

Zinc – Saving images

It was obvious that I had to write a few more lines about Zinc in the near future, but somehow this topic didn’t leave me alone at all, and no, I’m not writing about Zinc because I like it, I’m writing this because I don’t want that other people fall into the traps I fell [...]

AS3 – textfield setSelection()

Have you tried to set selection on atextfield after a validation procedure? Have you noticed that it doesn’t work quite right? Here’s the quick solution for that: Normally you would use the yourTextField.setSelection(startIndex, endIndex); method, but like I said before that doesn’t really work very well. You just need to set the focus to the [...]