# Simple component parameter problem with Inspectables

**URL:** https://forum.kirupa.com/t/simple-component-parameter-problem-with-inspectables/240633
**Category:** Uncategorized
**Created:** [October 4, 2007, 4:57pm UTC](https://forum.kirupa.com/t/simple-component-parameter-problem-with-inspectables/240633 "2007-10-04T16:57:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hsafeer](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hsafeer](https://forum.kirupa.com/u/hsafeer)
#### Post date: [October 4, 2007, 4:57pm UTC](https://forum.kirupa.com/t/simple-component-parameter-problem-with-inspectables/240633/1 "2007-10-04T16:57:46Z")

</div>

Quick question , i’m setting up a component in as3.  
but I cant get it to read my parameters.

```auto

        private var __flavorStr:String = "strawberry";
        [Inspectable(defaultValue="strawberry")]
        
        public function get flavorStr():String{
            return __flavorStr;
        }
        public function set flavorStr(newFlavor:String) {
            __flavorStr = newFlavor;
        }

```

I can see the parameter in component inspecter, but if i change it, it still shows the value as “strawberry”.

ie …  
component constructor () {  
trace(flavorStr) OR trace(\_\_flavorStr)  
}

outputs “strawberry”; after changing it in the component inspector to something else .

please help

thankyou
