2 of 2 people found this helpful
It makes sense to define the attributes values if they do not have data references on the event frame template. To access the attributes of an element you can just call eventFrames.Attributes["attributeName"].SetValue(AFValue);
Note, AFEventFrame inherits from AFBaseElement, which is the same class that AFElement derive from.
Let me know if you have questions.
If Dan's answer was sufficient, would you mind marking it as correct?