But I'm not too sure if it is the code that I need.
Let me tell you what I want to achieve and maybe you can give me a tip.
I'm doing a website for an interior designer, I have multiple drag & drop objects to decorate a room.
1- I need to duplicate the first object that the user drags just incase it is used again.
2- I need to be able to apply colours and patterns to all duplicates.
3- The example I'm using is based on frame labels which means to me that I need to have as many frame labels as combination of colours and patterns (quit a lot!!)
I post the file just incase you want to have a look.