Oct 20

facepainting

All the kids getting their faces painted
Ben

Ben has a bat
Josie

Josie has a butterfly
Conner

Conner has a dragon
Jon

Jon is a skeleton
Anna

Anna has a butterfly wing
Nate

Nate has a spiderman web
Posted via Pixelpipe.

written by Mac at 10:53 pm, Oct 20, 2008

Apr 01

So I had a question about using my prototyped stripWhitespace function for Strings in AS3. Since it was written for actionscript 2 it has a few different problems when using it in AS3. First of all, variables are not typed at all, which is almost required in AS3. Next, it uses prototyping, which in AC3 should really only be used in very special circumstances. So I updated the function for use in AS3, using a utility class instead. Take a look.
Continue reading »

written by Mac at 12:02 pm, Apr 1, 2008

Jan 09

So the other day I was using a DataGrid to show a data-set from an ArrayCollection, and I thought a great visual cue would be to highlight specific rows based upon the data like this:

Datagrid3

But after digging and searching through the docs, discovered to my surprise that the DataGrid component did not have this capability. So I did what every good developer does first, and started Googling, expecting to find someone who had faced this problem and solved it. Continue reading »

written by Mac at 1:02 am, Jan 9, 2008 \\ tags: , , , , ,

Jun 09

So I have a few other prototypes in my toolbox that I usually use with every project. Nothing real wow about them, but I was really getting sick of setting _x and _y in two statements. If I’m setting one, I’m almost always setting the other, so why not do it one statement instead of two. So while I was at it I did the same for _width and _height. Anyway here they are. There’s a couple more String prototypes to boot. Take a peek.

Continue reading »

written by Mac at 8:39 pm, Jun 9, 2006 \\ tags: , ,

Jun 09

Here is a useful little actionscript prototype function I wrote to remove extra whitespace (spaces, tabs, returns, linefeeds) from strings.
Since Flash doesn’t ignore extra whitespace in HTML the way browsers do, it’s particularly useful in removing that extra whitespace in HTML you don’t want in a textfield.

Continue reading »

written by Mac at 4:06 pm, Jun 9, 2006

Apr 08

We made it back to Rotterdam last night. We haven’t posted anything in awhile. Sorry. We were in Paris the last coouple of days. Wow! Mark you better start saving your money because I am going to convince Cami that she has to go see the Eiffel Tower. Definately a must! Dad we got you some good chocolate in Switzerland.

Continue reading »

written by KayLynn at 2:21 pm, Apr 8, 2006