# Actonscript question

**URL:** <https://forum.kirupa.com/t/actonscript-question/123931>\
**Category:** Uncategorized\
**Created:** [September 28, 2004, 5:38pm UTC](https://forum.kirupa.com/t/actonscript-question/123931 "2004-09-28T17:38:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saskia](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@Saskia](https://forum.kirupa.com/u/Saskia)\
**Post date:** [September 28, 2004, 5:38pm UTC](https://forum.kirupa.com/t/actonscript-question/123931/1 "2004-09-28T17:38:17Z")

</div>

[COLOR=Magenta][SIZE=1][FONT=Verdana]Hello,

I’ve got a little trouble with a script.  
Its this below…

* * *

testSquare\_mc\_width = getProperty(/:testSquare\_mc, \_width);  
testSquare\_mc\_height = getProperty(/:testSquare\_mc, \_height);

if (/:testSquareProperty == 1) {

```
/:go_testSquare_alpha = 100;
/:go_testSquare_width = 40;
/:go_testSquare_height = 40;

```

} else if (/:testSquareProperty == 3) {

```
/:go_testSquare_alpha = 100;
/:go_testSquare_width = 80;
/:go_testSquare_height = 40;

```

} else if (/:testSquareProperty == 4) {

```
/:go_testSquare_alpha = 100;
/:go_testSquare_width = 40;
/:go_testSquare_height = 80;

```

}

testSquare\_width = /:go\_testSquare\_width-testSquare\_mc\_width;  
setProperty(/:testSquare\_mc, \_width, testSquare\_mc\_width+(testSquare\_width/3));

testSquare\_height = /:go\_testSquare\_height-testSquare\_mc\_height;  
setProperty(/:testSquare\_mc, \_height, testSquare\_mc\_height+(testSquare\_height/3));

* * *

Now, I want to put this in a movieclip… but I don’t seem to get It to work, because I don’t exacly know what the /: means.  
And, how can I adjust it so I can put this actioncript in a movie?  
Can someone explane it to me… not to difficult please I’m just a beginner 😛

Thx,[/FONT][/SIZE][/COLOR]
