I have character and animate it in specific dress and I want change dress in second loop so write the following code to be continue animation with old dress in first loop and assign this code to button
while($currentFrame1 <= 471)
// code for replace dress
And I have music when animation
So When click the button, the character continue animate with music but music ends before the animation character end
How solve this problem?