Back Where I Started

The swf below looks and functions identically to the other versions, but a lot of behind the scenes automation has gone into it. I no longer have to define the number of inputs a module has when creating it, it auto increments when a connection is made. I no longer have to specify which ports to use when making a connection, I just tell it the two modules and it connects them. The modules-to-be-connected are assigned in the Connections constructor, and I’ve untangled all the drawConn/reDrawConn nonsense. The metaphoric link is created when the connection is established. The visual link is created at the end of the constructor and redrawn every frame.

This movie requires Flash Player 9

Posted in AS3

Leave a Reply

Your email address will not be published. Required fields are marked *