Hi!
I've got some issues in my program. The idea is that when you hold the key "c" and click on two nodes the nodes will be connected by a black "wire". And if you press "a" you can create more nodes. Everything is shown in the video below. It all works well for the objects created in the editor. But when adding new objects by pressing a and clicking a free spot the connection feature won't work anymore. See the video here: http://youtu.be/sztt1364HlU
Here is my .capx file as well: http://www.mediafire.com/download/q6q5w ... oblem.capx
I will be very thankful if someone can tell me what I've done wrong. Perhaps it's just something silly that I've missed. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
The positioning of the wire object is decided by the nodes UIDs as you'll see in the code. But as it all works with objects created before running the program I don't know what's wrong really.
Some of the logic in the program is a bit wierdly implemented but it's a quite small program after all so I think you'll be able to see what's going on.