# Inspectible from Components Pannel?

**URL:** https://forum.kirupa.com/t/inspectible-from-components-pannel/289767
**Category:** flash
**Created:** [June 4, 2009, 2:03pm UTC](https://forum.kirupa.com/t/inspectible-from-components-pannel/289767 "2009-06-04T14:03:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BenBart](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BenBart](https://forum.kirupa.com/u/BenBart)
#### Post date: [June 4, 2009, 2:03pm UTC](https://forum.kirupa.com/t/inspectible-from-components-pannel/289767/1 "2009-06-04T14:03:24Z")

</div>

I was just wondering how to make the properties of a class viewable in the Components Panel. This way, someone who doesn’t program can set properties of a MovieClip by clicking on it.

This is where I’m at so far:

```auto
package
{
    import flash.display.MovieClip;

 public class Rotator extends MovieClip 
 {
    
     private var _rotationSpeed:Number;
    
 
     public function Rotator():void
    {
     
    }
    
    [Inspectable (defaultValue=0)]
    public function set rotationSpeed(speed:Number):void
    {
        _rotationSpeed = speed;
    }

 }
}

```
