View Single Post
12-30-08, 08:51 AM   #5
twobits
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 38
Originally Posted by Felankor View Post

Slakah you are correct, Blizzard must have changed the function since patch 2.4 because I never had to pass that argument in the past... Im not sure if passing self is correct though. I can't remember if self actually passes the reference of the object. I may have to pass the text based name of the XML object, or a reference using getglobal.

I'll use the site Cralor suggested to look at an existing scroll frame in blizzards UI to see what they pass to the function.

Thank you both.

Felankor
Right, it changed in 3.0... and it is not self, xml templates automatically add the self in for you... it is the the offset you need to add or rather what the function is calling 'value'.
  Reply With Quote