Functions

It is not possible to define and call a function in Axure. A hack is to create a widget and move the widget by 0,0 pixels. In the OnMove event handler on the widget perform the function.

OnMove:
  Do more..

To call the “function” move the widget by 0,0 pixels. In the OnMove event hanlder on the widget perform the actions.