Custom component and parameters(inspectable)

I have made a SWC that works as it should but im trying to add in a userdefined parameter


class blah{
     var myparameter
 
[FONT=Courier New]public function set parameter(targetMcStr:String):Void   {    [/FONT]
[FONT=Courier New]  [FONT=Verdana]myparameter=[/FONT][FONT=Courier New]targetMcStr[/FONT][/FONT]
[FONT=Courier New]}[/FONT]
[FONT=Courier New] [Inspectable(defaultValue="= enter the target Movie Clip instance name here =")][/FONT]
 
[FONT=Courier New]public function get parameter():String {  [/FONT]
[FONT=Courier New]  return [FONT=Verdana]myparameter[/FONT];
   }[/FONT]
 
   function blah(){}
}

but when i click in the property area (at the bottom of the flash IDE) with my component on stage and selected it says “this component may only be edited via the component inspector” rather than listing my custom parameter to be edited…

anyone got any idea why?

[edit] If i s4elect my component in the library and select “component definition” it shows my parameter…just not in the property inspector area