setAttr

Set any attribute for a given s7:elementID.

setAttr.elementID={ *[!DNL attributeName]*= *[!DNL attributeValue]*, *[!DNL attributeName]*= *[!DNL AttributeValue]*…}

If a FXG node element has a s7:elementID defined, you can manipulate the attributes for that node. You can set as many attribute/value pairs as you want. The attributes do not need to already be defined in the FXG but it must be valid for the node element. All values in between {} must be Escaped.

Example

Assume a s7:elementID="Group1" attribute is defined for a BitmapGraphic node, then the following is valid:

&setAttr.Group1={x=250%26y=170%26rotation=90%26scaleX=1%26scaleY=0.5}

This example sets the x, y, rotation, scaleX, and scaleY for the BitmapGraphic and overrides any existing values.

On this page