# ActionScript Errors

**URL:** <https://forum.kirupa.com/t/actionscript-errors/124588>\
**Category:** Uncategorized\
**Created:** [October 5, 2004, 12:06am UTC](https://forum.kirupa.com/t/actionscript-errors/124588 "2004-10-05T00:06:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phlashman](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Phlashman](https://forum.kirupa.com/u/Phlashman)\
**Post date:** [October 5, 2004, 12:06am UTC](https://forum.kirupa.com/t/actionscript-errors/124588/1 "2004-10-05T00:06:50Z")

</div>

Hi! I am having some problems. When I try to publish my fla, it pops up with these errors:  
**Error** Symbol=Main Bar, layer=Main Bar, frame=12:Line 6: Statement block must be terminated by ‘}’  
if(this.\_parent.Mask.\_currentframe = 1){  
**Error** Symbol=Main Bar, layer=Main Bar, frame=12:Line 10: Syntax error.  
this.\_parent.Mask.play()}  
**Error** Symbol=Main Bar, layer=Main Bar, frame=12:Line 5: Statement block must be terminated by ‘}’  
on (release) {  
**Error** Symbol=Main Bar, layer=Main Bar, frame=12:Line 10: Syntax error.  
this.\_parent.Mask.play()}  
Total ActionScript Errors: 4 Reported Errors: 4

My code, however, doesn’t show any errors when I check the syntax:

```auto
 on (rollOver) {
this.arrow.play()}
on (rollOut) {
this.arrow.gotoAndStop(1)}
on (release) {
if(this._parent.Mask._currentframe = 1){
if(_root.People.Mask._currentframe=1){
_root.People.Mask.gotoAndPlay
this.play()
this._parent.Mask.play()} 

```

I have no clue what I’m doing wrong. Some help, please!  
FLA file is 236.2 KB. Sorry, the FLA is big, so you must own a .rar unzipping agent.
