Sandy Beach

In Bay Ridge, Brooklyn, along the promenade right past the Verazzano bridge, there's a tiny sandy beach. I had to take this picture since it's such a fine example of what a sandy beach should not look like. On the water you can see the reflection of the bridge. This was around the year 2000. Next to it is an illustration that came out in the New Yorker on the March 21st 2011 issue. Amazingly, it's the very same spot. I wonder if the tire is still the same one.

(download)

very strange

I added the picture gallery I made into one of the sections of the deep linked file. It's incredibly easy, all that needs to be done is change the file name in one entry of the XML, as long as all the necessary files are in the same folder.
However, when I uploaded the XML, the old image displayed instead, I triple checked every file that had to do with the process and uploaded again all of them, and the problem persisted. Tried renaming the html files, even after deleting the picture file from the server and it still displayed - the refresh button was never forgotten. The solution was to rename the XML itself. Not sure what caused the problem, perhaps something with the server or with firefox.
I don't know why the uploaded swfs don't maintain their own background color, and use the background color of the html instead. Also, the picture gallery's image strip bleeds off of the stage area and occupies the whole background area.

http://plastikeggdesign.com/images/interactive/interactive7Weird.html#/three

hunted/hunter

(download)

Dealing with angles, sine, cosine, tangent, and all that math has always been very uncomfortable to say the very least. While reading chapter 7 - Motion, of the book, it all got broken down into more digestible bits. I should have gone through it much earlier, many a headache would've been spared.

Chewing gum

(download)

This is the updated version of an old rubber bands file, now the lines do what they are supposed to. An added benefit is that I didn't need to feed the function any individual lines, they were generated automatically by the for loop. A planned distribution of lines can make this effect very interesting, instead of so annoying.

for(var i:int = 0; i<40; i++){
var newLine:MovieClip = new MovieClip();
var xPos:int = Math.random() * stage.stageWidth;
var yPos:int = Math.random() * stage.stageHeight;
setupLines(newLine, xPos, yPos, 0x00CBFF);
}

function setupLines(eachLine:MovieClip, posX:int, posY:int, color:Number):void {
    eachLine.x = posX;
    eachLine.y = posY;
    eachLine.col = color;
    eachLine.addEventListener(Event.ENTER_FRAME, updateLines);
}

function updateLines(e:Event):void {
    var thisLine:MovieClip = MovieClip(e.currentTarget);
    with(thisLine.graphics){
        clear();
       lineStyle(1, thisLine.col);
       moveTo(0, 0);
       lineTo(thisLine.mouseX, thisLine.mouseY);
      addChild(thisLine);
    }
}


Arrays

Delving into the finer points of arrays, up to now it has been an obscure topic. The adobe Programming Actionscript 3.0 guide
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/
is surprisingly good, compared to the help files. It's well written, with clear straightforward examples.
Just learned about the Vector class, and different ways to add, retrieve, set, delete, splice,  truncate, and sort elements in an array. Plus concatenating and nesting arrays. Next step is to put all this to use.