# As tutorial question

**URL:** <https://forum.kirupa.com/t/as-tutorial-question/40891>\
**Category:** flash\
**Created:** [January 23, 2004, 1:58am UTC](https://forum.kirupa.com/t/as-tutorial-question/40891 "2004-01-23T01:58:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Node9](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@Node9](https://forum.kirupa.com/u/Node9)\
**Post date:** [January 23, 2004, 1:58am UTC](https://forum.kirupa.com/t/as-tutorial-question/40891/1 "2004-01-23T01:58:15Z")

</div>

I am currently trying to do a sound object tutorial I am having trouble with the “How to Start, Stop and Loop a Sound Object”  
here is the [\<\<\<\<link\>\>\>\>\>](http://www.kennybellew.com/) I am getting 3 errors when using this [AS]on (press) {if (playing!=true) { \_root.firstSound.start(0,999); playing=true;}[/AS]

here is the errors

**Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 1: Statement block must be terminated by ‘}’  
on (press) {

**Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 5: Syntax error.  
}

Total ActionScript Errors: 3 Reported Errors: 3

any help would be great
