# Super.property -= not working

**URL:** <https://forum.kirupa.com/t/super-property-not-working/313520>\
**Category:** Uncategorized\
**Created:** [September 1, 2010, 7:14pm UTC](https://forum.kirupa.com/t/super-property-not-working/313520 "2010-09-01T19:14:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![moselekm](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@moselekm](https://forum.kirupa.com/u/moselekm)\
**Post date:** [September 1, 2010, 7:14pm UTC](https://forum.kirupa.com/t/super-property-not-working/313520/1 "2010-09-01T19:14:58Z")

</div>

Whoops this seems to have been posted right before me.

The answer is located here:  
[Answer to Super vs Public/Private/Protected properties](http://www.kirupa.com/forum/showthread.php?t=353605#5)

Thanks to Ayumilove for going out of her way to find this out.  
And to lordofduct for breaking down the reason+answer for it!

> For some reason when I try and modify parent properties through a child with the  
> -=  
> +=  
> \*=  
> etc  
> commands, it doesn’t work, it in fact gives an error:

```php
//1086: Syntax error: expecting semicolon before minusassign.
//in relation to:
super._health -= 2;

```

and also this error TWICE for just the single line of code above:

```auto
5000: The class 'com.beastiary.orks.OrkSentry' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

```

Which makes NO SENSE since OrkSentry class extends from the Ork class. And the Ork class extends from the MovieClip class. That’s how you’re supposed to use inheritance right? And yes I am importing MovieClip class for each class.

In reference back to the line of code that comes back erroneous:

```auto
super._health = super._health - 2;

```

Works just fine. But I don’t want to write my code like that. I don’t think anyone likes to write code like that.

So anyone run into this problem and can help?
