# Prototypes:"Simple question"? Not for me. Help please

**URL:** <https://forum.kirupa.com/t/prototypes-simple-question-not-for-me-help-please/59215>\
**Category:** Uncategorized\
**Created:** [July 29, 2004, 9:53am UTC](https://forum.kirupa.com/t/prototypes-simple-question-not-for-me-help-please/59215 "2004-07-29T09:53:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Post date:** [July 29, 2004, 9:53am UTC](https://forum.kirupa.com/t/prototypes-simple-question-not-for-me-help-please/59215/1 "2004-07-29T09:53:09Z")

</div>

Hi,  
I’m trying to use a prototype function from [http://proto.layer51.com](http://proto.layer51.com)  
this is the code  
[AS]  
MovieClip.prototype.slideShrinkRotateTo$checkProgress = function() {  
if (Math.abs(eval(“this.”+this.checkProperty)) \< 0.1) {  
this.\_parent.\_y = this.y;  
this.\_parent.\_x = this.x;  
this.\_parent.\_xscale = this.\_parent.\_yscale = this.es;  
this.\_parent.\_rotation = this.er;  
clearInterval(this.interval);  
this.broadcastMessage(“clipIsGone”, this.\_parent);  
this.removeMovieClip();  
}  
}  
[/AS]  
usage:  
[AS]  
MovieClip.slideShrinkRotateTo(newX, newY, newScale, newRotation, friction);  
[/AS]  
I’ve put this code in frame 1 in layer 1.  
In layer 2 frame 1 I’ve made a simple square (MC) with the instance square. and I write in frame 1  
[AS]  
square.slideShrinkRotateTo(400, 250, 200, 0, 0);  
[/AS]  
Problem: Nothing happens.  
What’s the problem here?  
mx-guest2004

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2004, 10:13am UTC](https://forum.kirupa.com/t/prototypes-simple-question-not-for-me-help-please/59215/2 "2004-07-29T10:13:33Z")

</div>

Problem is solved. It was the wrong value of speed.  
mx-guest2004
