this.extraTags = extraTags;
graphicClass = new FXGSymbolClass();
graphicClass.setPackageName(packageName);
graphicClass.setClassName(className);
GraphicNode node = (GraphicNode)fxgNode;
DefineSpriteTag sprite = createDefineSpriteTag("Graphic");
spriteStack.push(sprite);
// Process mask (if present)
if (node.mask != null)
mask(node, sprite);
// Handle 'scale 9' grid definition
if (node.definesScaleGrid())
{
DefineScalingGridTag grid = createDefineScalingGridTag(node.getScalingGrid());
grid.setCharacter(sprite);
extraTags.put(sprite, grid);
//sprite.scalingGrid = grid;
}