# Variable declaration

**URL:** <https://forum.kirupa.com/t/variable-declaration/274244>\
**Category:** flash\
**Created:** [October 27, 2008, 3:07pm UTC](https://forum.kirupa.com/t/variable-declaration/274244 "2008-10-27T15:07:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spam\_killer](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@spam\_killer](https://forum.kirupa.com/u/spam_killer)\
**Post date:** [October 27, 2008, 3:07pm UTC](https://forum.kirupa.com/t/variable-declaration/274244/1 "2008-10-27T15:07:11Z")

</div>

Hello… I need some explaination here…

Recently I found an actionscript containing variable declaration like below:

```auto
 
 
if (eval(../boden:wings) == 6) {
gotoandplay(5);
}
 

```

what is actually \>\> [COLOR=red] **…/boden:wings** [/COLOR] \<\< ?  
Is it a type of variable or something?

and I’ve try to declare the variable with my own value but not recognise (“syntax error”)

first frame i put this:

```auto
var myVar:golden = 6;

```

then next frame i put this:

```auto
 
if (myVar:golden == 6){
stop();
}

```

I hope that the condition is true but the movie not stop at frame 5…

then I’ve try to change the value:

```auto
 
if (myVar:golden == 7){
stop();
}

```

The result still same…

Help me please…!! Detail explaination is much better…:thumb2:

Info:: I’m using flash 8 professional
