# Explain this inheritance concept

**URL:** <https://forum.kirupa.com/t/explain-this-inheritance-concept/305355>\
**Category:** flash\
**Created:** [February 23, 2010, 10:48pm UTC](https://forum.kirupa.com/t/explain-this-inheritance-concept/305355 "2010-02-23T22:48:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrjellybeans](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jrjellybeans](https://forum.kirupa.com/u/jrjellybeans)\
**Post date:** [February 23, 2010, 10:48pm UTC](https://forum.kirupa.com/t/explain-this-inheritance-concept/305355/1 "2010-02-23T22:48:03Z")

</div>

Edit = I figured out the problem! Sorry for bothering people. It was a simple problem of remembering to set imageSpeed as a number. Sorry about that!

I am having a problem with one of my movieclips NOT initiliazing values properly in as3. Well, actually, it seems to keep happening, so I think my understanding of how as3 is the real problem.

I have a moveiclip player, that extends MovingObject, that extends GameObject.

I declared a public int in gameObject as public var imageSpeed:int.

For some reason, I can’t seem to set the value at a number correctly.
