Lets make a very simple animation by ArtPigEditor. We name it 'PigRun'.
Download [PigRun.zip]
In this example, pig icon moves in a nice curve shape for 3 seconds and rotates 360 degree at the same time. You can export it to xml files, and play the animation on an iPhone. It would be nice if we could modify the animation in runtime. Before doing so, there needs to be a way to identify and access the actions.
Tag property does that job. Each tag must have unique value in project. Lets select the action frame that makes the pig move and rotate. If you open property panel, you will see something like this below.
Lets type 'move' in the tag field of move action, and type 'rotate' in the tag field of the rotate action. By specifying tag property, we can access ArtPig objects in programming codes.
At this time, click the name field of 'GraphicGroup1' to select the graphic group that contains pig icon. Type 'pig' in the tag property field.
