# Parameter Name Expected, not sure why :(

**URL:** https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235
**Category:** flash
**Created:** [November 26, 2006, 7:49pm UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235 "2006-11-26T19:49:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DeletedUser12345](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DeletedUser12345](https://forum.kirupa.com/u/DeletedUser12345)
#### Post date: [November 26, 2006, 7:49pm UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235/1 "2006-11-26T19:49:45Z")

</div>

I’ve searched the forum for answers to this particular problem and haven’t found it, so I’m posting here.

I’m creating a small game w/ Actionscript 2.0 that works sort of like Minesweeper on Windows. Basically there is a 10x10 grid of squares with an “on” and “off” state. when you turn one “on” the adjacent squares also go “on” in a + pattern; likewise when you turn “off.”

Here is an online example of the game: [http://www.braingle.com/games/disco/index.php](http://www.braingle.com/games/disco/index.php)

Everything works so far but I get one “parameter name expected” error in the code. The error occurs on line 15. I’ve attached the file for you to see.

Thanks in advance to everyone who helps out!

---

<div class="post-metadata">

### Author: ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)
#### Post date: [November 12, 2014, 5:58pm UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235/2 "2014-11-12T17:58:01Z")

</div>

Could you post the relevant code?

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [November 13, 2014, 2:56am UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235/3 "2014-11-13T02:56:38Z")

</div>

So, this post was bumped from 2006. I think the reason it was bumped is that the OP edited the categorization of the thread, although I’m not sure why. (Discourse counts edits as a reason to bump a thread, apparently.)

---

<div class="post-metadata">

### Author: ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)
#### Post date: [November 13, 2014, 3:45am UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235/4 "2014-11-13T03:45:46Z")

</div>

Discourse: 1  
Me: 0

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [November 13, 2014, 4:52am UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235/5 "2014-11-13T04:52:31Z")

</div>

Noo doot aboot it. 🚵‍♂️
