# TonyPa AS3 Class

**URL:** <https://forum.kirupa.com/t/tonypa-as3-class/321462>\
**Category:** flash\
**Created:** [April 20, 2011, 1:28pm UTC](https://forum.kirupa.com/t/tonypa-as3-class/321462 "2011-04-20T13:28:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinnieb](https://avatars.discourse-cdn.com/v4/letter/v/ba8739/32.png) [@vinnieb](https://forum.kirupa.com/u/vinnieb)\
**Post date:** [April 20, 2011, 1:28pm UTC](https://forum.kirupa.com/t/tonypa-as3-class/321462/1 "2011-04-20T13:28:37Z")

</div>

Hi everbody

The last few weeks I have been working on a class from TonyPa vector tutorials.

[http://www.tonypa.pri.ee/vectors/](http://www.tonypa.pri.ee/vectors/)

I basicly want to call a movieclip from the libraby and link it to the class. So the only thing that the object needs is another object with vector information for borders as a parameter.

Now the class is working. but I did something wrong. I used addChild to get the movieclip inside the class. I want the class to work directly with an element from the library without using addChild.

So I started all over. Now I have movement But I can not get collision detection with the vectors. After being stuck for more then a week now, I would like to know 2 things. Does anybody know if there is a class like this made allready? And is anybody willing to help me finish this class?

grtz
