Few more changes brings me closer to actual NeatTools behavior, and data flow. When evoking a module’s engine() method, the module is now passed the incoming port number. Every module has three arrays:mom, kid, and connectionList. When a connection is created the arrays are updated. Both kid and mom are arrays of modules, connectionList is […]
Continue readingCategory: AS3
Event Broadcast Model Saved My Marriage
Not really, but I’ve been reading up on how it’s used in NeatTools, both from EJ’s Thesis, and from an analysis done by Rob Salgado. I’ve tried to replicate it to the best of my abilities within my code, and while it’s still a work in progress, it’s already done two things for my program. […]
Continue readingThe Wires are the Thing
After dealing with two new module types and incorporating them into the mix, I’m starting to think I need to rethink my module interaction model. Right now modules communicate directly with those modules they have connections with. To make the Integer module talk to the Add module, because they each handle data differently, I had […]
Continue readingAdding with Iman
Sounds like a children’s tv show. The Add module was the next requested NeatTools feature, and here it is, more or less. I still need to pretty it up. For instance, if you type too much in a box it extends beyond the boundaries of the box. Also Flash’s text boxes take strings, not numbers, […]
Continue readingSmall Moves
I’m trying to knock out all the small things, before I have to start dismantling my code to make the bigger improvements. Hence, the most recent update. When hovering over a module, the wires will glow green. Yay. The gray box on the side of the modules is the start of drawing my own connections. […]
Continue reading