Simple component parameter problem with Inspectables

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


        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