# as2 oop - component creation - inspectable elements

**URL:** https://forum.kirupa.com/t/as2-oop-component-creation-inspectable-elements/234123
**Category:** flash
**Created:** [July 30, 2007, 6:48pm UTC](https://forum.kirupa.com/t/as2-oop-component-creation-inspectable-elements/234123 "2007-07-30T18:48:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jansensan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jansensan/32/3362_2.png) [@jansensan](https://forum.kirupa.com/u/jansensan)
#### Post date: [July 30, 2007, 6:48pm UTC](https://forum.kirupa.com/t/as2-oop-component-creation-inspectable-elements/234123/1 "2007-07-30T18:48:00Z")

</div>

hello all, i have a lot of difficulty to wrap my head around the inspectable tags in as2 to create components. i think i need a second set of eyes to let me know if i overlooked something

here is a part of the code, where i set what is inspectable

```auto
[Inspectable (name="Webservice - Gateway", type=String, defaultValue="http://<domain>/flashservices/gateway")]
    public function set _gateway (newValue:String) {
        this.gateway = newValue;
    }
    public function get _gateway ():String {
        return this.gateway;
    }
    
    [Inspectable (name="Webservice - Placeholder ID", type=Number, defaultValue="0")]
    public function set _ID (newValue:Number) {
        this.placeholderID = newValue;
    }
    public function get _ID ():Number {
        return this.placeholderID;
    }
    
    [Inspectable (name="XML - Overwrite properties with incoming xml", type=Boolean, enumeration="false,true", defaultValue="true")]
    public function set _overwriteWithXML (newValue:Boolean) {
        this.overwriteWithXML = newValue;
    }
    public function get _overwriteWithXML ():Boolean {
        return this.overwriteWithXML;
    }
    
    [Inspectable (name="Rotating banner", type=Boolean, defaultValue="false")]
    public function set _isRotating (newValue:Boolean) {
        this.isRotating = newValue;
    }
    public function get _isRotating ():Boolean {
        return this.isRotating;
    }
    
    [Inspectable (name="Banner display width", type=Number, defaultValue="320")]
    public function set _displayWidth (newValue:Number) {
        this.imgWidth = newValue;
    }
    public function get _displayWidth ():Number {
        return this.imgWidth;
    }
    
    [Inspectable (name="Banner display height", type=Number, defaultValue="240")]
    public function set _displayHeight (newValue:Number) {
        this.imgHeight = newValue;
    }
    public function get _displayHeight ():Number {
        return this.imgHeight;
    }
    
    [Inspectable (name="Banner hyperlink", type=String, defaultValue="#")]
    public function set _link (newValue:String) {
        this.imgLink = newValue;
    }
    public function get _link ():String {
        return this.imgLink;
    }

```

of all these, only “Banner display width”, “Banner display height” and “Webservice - Placeholder ID” actually show in the property inspector window. did i make a typo that i cant see?
