# AS not executing

**URL:** https://forum.kirupa.com/t/as-not-executing/23847
**Category:** Uncategorized
**Created:** [June 23, 2003, 6:49am UTC](https://forum.kirupa.com/t/as-not-executing/23847 "2003-06-23T06:49:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![whet15](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@whet15](https://forum.kirupa.com/u/whet15)
#### Post date: [June 23, 2003, 6:49am UTC](https://forum.kirupa.com/t/as-not-executing/23847/1 "2003-06-23T06:49:05Z")

</div>

for some reason i have a section of actionscript with only part of it actually doing something.

Heres the code;

abc.play();  
abc.walking = 1;  
abc2.walking = 1;  
play ();

but only the last line is actually working. if i delete this line it works fine. please help (-:  
im usin flash 5.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 24, 2003, 1:32pm UTC](https://forum.kirupa.com/t/as-not-executing/23847/2 "2003-06-24T13:32:49Z")

</div>

is this code in a frame or a symbol? if it’s in a symbol you’ll have to use \_root.abc.play() etc.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 25, 2003, 6:38am UTC](https://forum.kirupa.com/t/as-not-executing/23847/3 "2003-06-25T06:38:34Z")

</div>

its a function that is declared on frame 1 of a movie clip. but if delete the last line then the rest works so thats not it.
