# Display a Planet MC

**URL:** <https://forum.kirupa.com/t/display-a-planet-mc/241871>\
**Category:** Uncategorized\
**Created:** [October 18, 2007, 10:55pm UTC](https://forum.kirupa.com/t/display-a-planet-mc/241871 "2007-10-18T22:55:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mleep](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@mleep](https://forum.kirupa.com/u/mleep)\
**Post date:** [October 18, 2007, 10:55pm UTC](https://forum.kirupa.com/t/display-a-planet-mc/241871/1 "2007-10-18T22:55:00Z")

</div>

i have a very straightforward class/package setup here… there are no errors on compiling and im assuming its a simple matter of the correct includes or extends needed for the class…

the files is located here -\>  
[http://quintessence.sneakypants.com/tmp/q\_Class%20Problem.zip](http://quintessence.sneakypants.com/tmp/q_Class%20Problem.zip)

Its one FLA with a few very small (few liner) actionscript files. The problem is Planet.as or Terran.as (or both?)

I’m either not extending Sprite, or Movieclip or something correctly. I’m trying to display a movieclip thats in the FLA with the following code

```auto
var terran:terran_mc = new terran_mc();
terran.x = posX;
terran.y = posY;
terran.scaleX = 1.2;
terran.scaleY = 1.2;
addChild ( terran );

```

the mc in the FLA has the correct class name under Linkage.

Any help would be greatly appreciated, also any general pointers if I’m structuring my code poorly
