PDA

View Full Version : adding and deleting nodes


rajesh_kumar78
10-20-2005, 07:32 AM
Hi Guys,

I hav made a movie clip using co-ordinates and four nods in it.

Will anybody help me, how i can add and delete nods on mouse click on that particular line, also i wanna drag the whole movie clip on tha stage.

actually by using actionscript i am making a rectangle with four draggable corners.

but on click i want to add and delete more draggble corners between any two coordinates.


Thanks in advance.

Download file for reference.

http://www.geocities.com/rajmultimedia/rectangle.zip

Rajesh kumar

Sunny13
10-20-2005, 08:16 AM
just an idea......
place clips along with the lines and check for the mouse click on these clips and add new vertex at that place.... you have to dynamically attach a new movieclip now.... hope you got the idea....:)