And parents. Spent this afternoon (took a break around dinner, see below) and evening learning about parent-child relationships, event listeners, and classes in general. I have decided to never again use timeline navigation for anything but animation… the class-based movie-clip stage method that Jody Hall explains so well in this tutorial is so slick and easy that I think even a beginner in both Flash and OOP (object-oriented programming) could understand and apply it. I wish I’d read Hall’s work years ago—it’d've saved me loads of sweat and tears! As it is, I find myself wanting to make an application (I did make one (Mac and PC) as a follow-along to the timeline tutorial), but I’ll be good and stick to my circles and animation! I’ve been trying to devise an overall gameplan of how to structure the animation/underlayer/mask elements (and, later, how to incorperate Processing or run it alongside). Thoughts: run animation on top of underlayer on the main timeline/screen, run mask over both. Required: figure out how to run the two movieClips from ActionScript not timeline, figure out how to mask through AS, resolve circle animation issues, figure out how to use the circles as a mask through AS. I can do this, I think… I can, I think I can, I think I can… Three weeks, two papers, one animation and code problem. Plus finals.
Other news: I biked to 5th St for falafel again (I’m getting mileage out of that twenty’s change, mum, thanks!) and went to see Whip It at the David Minor Theater; why they named it “minor” is a mystery to me, as I got my ID checked upon entrance, although I imbibed of no spirits. Oh, and I finished Forty Thousand in Gehenna. It was amazing, as all of Cherryh’s books seem to be. Also amazing is my ability to partition off my brain from the panic that really ought to consume it this close to the end of the term. Then again, my über-fast research/writing skills have never yet failed me, so it’s logical that my brain not panic, having never had a blow-up caused by failure to meet deadlines. A child who has never been electrocuted can’t truly fear a live wire, right? (I wouldn’t know; I stuck tweezers into an outlet when I was two, and that wasn’t my last encounter with high-voltage electricity; I’ve had four or so, to date: tweezer outlet, variable power source exposed alligator clip, light switch with exposed wiring, electric fence—with the back of my hand, of course! Also, ask my mother about the things I used to eat/put in my mouth—paint, some strange orange chemical I found on a tree, sap my older sister told me was honey, any manner of household cleaning products, soap… the response from Poison Control to my mum’s repeated calls came to be, “What’s she eaten now?”) Long tangent that was, eh?
UPDATE: I’m going to bed as soon as I post this , I swear (today’s migraine is getting nasty and I’m actually kind of tired, no thanks to my insomnia, and sleep and meds will do wonders for both), but I just had to do this now—I fixed everything but the radius problem on the flash end (big circles get too big), and here it is! Plus the Processing apps in Mac and Windows. You need to run the Processing app first, then the swf, and hope that the socket connection between them works! If not, here’s the code for both. And here are pictures at 320×240 and 640×480 of sample flash video feed, as the socket seems to be unhappy. Methinks I must route it through the web or something…
Also, a small increase in stage size leads to a HUGE lag in animation… Will need to figure out how to work with or around this. But, all in all, I’m VERY pleased with the progress made today.
