Flash 8.
symbolItem.scalingGrid
Property; a Boolean value that specifies whether 9-slice scaling is enabled for the item.
The following example enables 9-slice scaling for an item in the library:
fl.getDocumentDOM().library.items[0].scalingGrid = true;