Lemieux Design

Flash | Interactive | Web | Graphics | Brand | Video

Archive for the ‘ActionScript’ Category

FlashDevelop 3.0

Posted on: June 17th, 2009 by alemieux

I’ve heard a lot of complaints from people about Flash’s built-in ActionScript editor. There has been third party development going on for a while. One application that I’ve tried in the past was SEPY, but the Mac version was buggy and I never tried the PC version. Lee Brimelow swears by it though.

Another editor that’s been in the works for a few years now and has finally yielded a full-fledged version is FlashDevelop. FlashDevelop is PC only now and I’m not sure if they’re planning to develop a Mac version, but this is a pretty awesome editor. Very quick with a lot of code hinting.

Give it a spin!

ActionScript 3.0 Migration Cookbook

Posted on: April 27th, 2009 by alemieux

If you’ve been holding off on moving to AS3 or have felt that AS3 is too difficult to learn, Adobe wants you to migrate. To help you do so, they’ve published a migration guide: “ActionScript 3.0 Migration Cookbook.” Check it out and please, make the switch.

ActionScript 3.0 Migration Cookbook

Posted on: April 27th, 2009 by alemieux

Adobe is still trying to get Flashers to migrate to ActionScript 3.0. It’s so late in the game with this, but their efforts have stepped up now with the ActionScript 3.0 Migration Cookbook. 21 PDF pages of code examples and a list of 5 misconceptions about AS3 and a list of 5 benefits of AS3.

So if you’re still AS2, then you’ll want to check this out.

Beginner’s Guide to ActionScript 3.0

Posted on: April 14th, 2009 by alemieux

I posted a blog entry about a new video series at tv.adobe.com titled: Beginner’s Guide to ActionScript 3.0. You can read it here: http://usingflash.blogspot.com/2009/04/beginners-guide-to-actionscript-30.html

Beginner’s Guide to ActionScript 3.0

Posted on: April 14th, 2009 by alemieux

At FlashDen.net, there’s a new video series by Doug Winnie titled Beginner’s Guide to ActionScript 3.0, which are hosted at tv.adobe.com. It’s pretty amazing to me that anyone is producing video’s of this, since ActionScript 3 has been around for so long now. I guess there’s still a lot of ActionScript 2 development going on out there.


Dynamic Text Fields

Posted on: April 1st, 2009 by alemieux 1 Comment

I had a recent issue with Dynamic Text Fields. In an interface I designed, I had a set of button symbols – just simple buttons. I didn’t want to put any text labels in the buttons themselves, I wanted the text to come from an external XML file. So I set up the XML file and got the text into a Dynamic Text Field that I had in a layer above the buttons.

The problem happened when testing the movie. The buttons normal behavior was blocked by the Dynamic Text Field?!? For example, when hovering over the button, the cursor stopped being a hand cursor over the text field. Any rollover effects stopped when the cursor was over the text field. So I thought it was an issue with the text field itself, like some appearance property or something. I tried all of the settings and it didn’t change anything.

After posting questions to a couple of forums, I finally got the answer. With ActionScript, you need to set the text fields mouseEnabled property to false:

textfield1.mouseEnabled = false;

That means that the text field doesn’t respond to mouse events at all. Problem solved.

It seems odd to me that Dynamic Text Fields do this at all. I don’t think this was a normal behavior in versions prior to CS4.