went to the Company Gallery this past weekend for the art show. it was a pretty nice gallery space..lots of windows onto the street. finally saw Doug’s Spore 1.1 that I’ve heard all about, and there were some other pretty cool pieces too. another I really liked was a piece where you controlled a video of various facial expressions with a turntable..you could scratch back and forth..slow it down..speed it up..play it backwards. it was interesting using a record player to interact with video like that.
I guess I’m finished with it now..not exactly what I thought I would be doing but pretty close. the idea is loosely based of some video I saw a while back. anyway..everything is draggable, and the microphone will pic up sounds if they lie within its ’sensitivity zone’, increasing in volume the closer they get. the alpha value of the blue channel on the ‘emitters’ pulses with respect to the volume, and the panning of each sound can also be adjusted.
so I read through both of the tutorials posted.. I guess I understand them, but I wasn’t really a fan of how either of them was written. the sound one seemed a little specialized..I dont see a gap of .046 seconds having a huge effect on most kinds of projects. I found the book to be more useful than the tutorials. I think I have an idea for my excercise..just gotta see what it starts looking like..
I think I’m finally finished with this thing..ended up doing a pretty standard implementation of minesweeper. one thing I didn’t get to work was clearing all the adjacent empty tiles with one click..I was able to get it to do a maximum of 9 reliably though, so its not too bad. Aside from some elements that are in the Library, there’s only a single frame of actionscript..before I never thought I’d make a flash project with no items on the stage (I didn’t even think it was possible..)
so I got my minesweeper working a little better, and figured I’d bring it with me to work on in the lab today (since I’m stuck here working 12-4). Turns out Flash decided that my code, which had worked fine up until the last save, suddenly has “Type mismatch” problems..
here’s fla file of the last save, and a swf of the last successful test-build (from my computer at home)
well, after having doug help me troubleshoot it, turs out I had to change my board[i][j].c = _root.attachMovie("tile", ["t"+this.board[i][j].id], this.board[i][j].id); to read
board[i][j].c = attachMovie("tile", ["t"+this.board[i][j].id], this.board[i][j].id);
go figure..
well, I finally decided I’d try making minesweeper for this project..seemed easy enough. I managed to get the grid of tiles arranged and accepting clicks pretty quickly, and testing for bombs just takes a pretty simple nested for loop. finally ran into trouble while I was trying to figure out how to get it to “auto-clear” empty tiles when you click on an empty one. haven’t gotten anything that works properly yet..but I figured I’d toss up the work-in-progress anyway..
rant: I don’t understand why flash’s undo function only takes into account some changes to your actionscript..it makes debugging a whole lot harder than it needs to be.




