I cant get the parameters to show up in the property inspector area for my new component...
I used the right code and it shows up if you right click the library item and go to "component definition" but when i target a copy on the stage the property inspector says to change it I must go into the component inspector
I have made a SWC that works as it should but im trying to add in a userdefined parameter
this isnt my component clas but just some code to show you how i am adding the inspectable parameter..
Code:
class blah{
var myparameter
public function set parameter(targetMcStr:String):Void {
myparameter=targetMcStr
}
[Inspectable(defaultValue="= enter the target Movie Clip instance name here =")]
public function get parameter():String {
return myparameter;
}
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?