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
[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?