# GotoAndStop not working, using arrays (need help please)

**URL:** <https://forum.kirupa.com/t/gotoandstop-not-working-using-arrays-need-help-please/235443>\
**Category:** flash\
**Created:** [August 11, 2007, 1:03am UTC](https://forum.kirupa.com/t/gotoandstop-not-working-using-arrays-need-help-please/235443 "2007-08-11T01:03:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dragonknight](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@Dragonknight](https://forum.kirupa.com/u/Dragonknight)\
**Post date:** [August 11, 2007, 1:03am UTC](https://forum.kirupa.com/t/gotoandstop-not-working-using-arrays-need-help-please/235443/1 "2007-08-11T01:03:39Z")

</div>

```auto
stop();
getcode = [_root.colorskin, _root.coloreyes, _root.colorwing, _root.eyes, _root.mouth, _root.headacc, _root.backround, _root.dname, _root.wings, _root.colortattoo, _root.pose, _root.tattoo];
//post function
function post() {
    dragonarray = postcode.text.split(",");
    _root.colorskin = dragonarray[0];
    _root.coloreyes = dragonarray[1];
    _root.colorwing = dragonarray[2];
    _root.eyes = dragonarray[3];
    _root.mouth = dragonarray[4];
    _root.headacc = dragonarray[5];
    _root.backround = dragonarray[6];
    _root.dname = dragonarray[7];
    _root.wings = dragonarray[8];
    _root.colortattoo = dragonarray[9];
    _root.pose = dragonarray(10);
    _root.tattoo = dragonarray(11);
    _root.dragon.head.eyes.gotoAndStop(_root.eyes);
    _root.dragon.head.mouth.gotoAndStop(_root.mouth);
    _root.dragon.head.acc1.gotoAndStop(_root.headacc);
    _root.dragon.wing1.gotoAndStop(_root.wings);
    _root.dragon.wing2.gotoAndStop(_root.wings);
    _root.backroundpic.gotoAndStop(_root.backround);
    _root.dragon.gotoAndStop(_root.pose);
    _root.dragon.arm.tattoo.gotoAndStop(_root.tattoo);
    for (var i = 0; i<=dragonarray.length-1; i++) {
        trace(dragonarray*);
    }
    play();
}

```

i’ve tried everything  
and i don’t think anything is wrong with the code  
but it doesn’t GotoAndStop the pose for the dragon when i try it

using the post function

heres the source file: [http://www.savefile.com/files/961190](http://www.savefile.com/files/961190)

can anybody help me please?
