To improve my app, I would like to create 12 containers, inside each container a sprite representing one piano key.
How do make the key (sprite) move with the container?
What I have tried but didn't work is:
I've created a sprite, filled it with a grey color and named it to con1
Created a second sprite, adjusted the dimensions and filled it with red color.
Turned the first sprite into a container and picked the second sprite from the popup window.
Then I've attached a drag & drop behavior to the container.
Running this example lets me move the container but the sprite inside the container does not move along.
What am I missing?