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.
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 »
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:

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 »
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.
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.
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.