# How does extends work?

**URL:** <https://forum.kirupa.com/t/how-does-extends-work/320376>\
**Category:** flash\
**Created:** [March 22, 2011, 4:46am UTC](https://forum.kirupa.com/t/how-does-extends-work/320376 "2011-03-22T04:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![taint](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@taint](https://forum.kirupa.com/u/taint)\
**Post date:** [March 22, 2011, 4:46am UTC](https://forum.kirupa.com/t/how-does-extends-work/320376/1 "2011-03-22T04:46:09Z")

</div>

How should I use it and when I would use it?

I got two classes

hero\_class and navigate

hero\_class is for my character  
navigate is for my character movement

how should i put the navigate for my hero\_class

Here is my current extends for the two

public class hero\_class extends MovieClip  
public class navigate extends hero\_class

is it going to meet each other?
