PDA

View Full Version : Array in Inspectable


MJWarren@Syr
07-15-2005, 02:29 PM
Im try to bring an array in the inspectable panal. I dont know if i have to do anything special but it just doesnt seem to work. heres my code


private var myArray:Array = new Array();

[Inspectable (defaultValue="Enter", type=Array)]
public function set Items(a:Array):Void {
trace(a[0]);
myArray=a
}

i put a few strings in the inpector panal before i run, like usual, but when i trace i get "undefined" anyone have any suggestions?

-tyrone biggums