# Kirupa tutorial problem

**URL:** <https://forum.kirupa.com/t/kirupa-tutorial-problem/245692>\
**Category:** flash\
**Created:** [December 3, 2007, 3:11am UTC](https://forum.kirupa.com/t/kirupa-tutorial-problem/245692 "2007-12-03T03:11:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![R216](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@R216](https://forum.kirupa.com/u/R216)\
**Post date:** [December 3, 2007, 3:11am UTC](https://forum.kirupa.com/t/kirupa-tutorial-problem/245692/1 "2007-12-03T03:11:39Z")

</div>

I just completed this tutorial on Kirupa:

[http://www.kirupa.com/developer/mx20...otogallery.htm](http://www.kirupa.com/developer/mx20...otogallery.htm)

I am getting 2 error messages pertaining to the code that was copied to the actions frame:

**Error** Scene=Scene 1, layer=action, frame=1, Line 79: Statement block must be terminated by ‘}’  
function picture\_num() {

**Error** Scene=Scene 1, layer=action, frame=1, Line 81: Syntax error.  
pos\_txt.text = current\_pos+" / "+total;

Total ActionScript Errors: 2, Reported Errors: 2

I just copied this from the tutorial, so could this be a CS3 compatibility issue?
