API:ActionBarFrame OnUpdate

__NOTOC__
Usage: 
ActionBarFrame_OnUpdate(this, elapsedTime)
== Parameters ==
=== Arguments ===
:;this
::string - uses self frame name, "ActionBarFrame"
:;elapsedTime
::number - time since last frame.
=== Returns ===
:nil
== Example ==
ActionBarFrame_OnUpdate("ActionBarFrame", 0.1643)
== Related Functions ==
* ActionBar_Restoe
* ActionBarFrame_LoadIni
* ActionBarFrame_OnEvent
* ActionBarFrame_OnLoad
* ActionBarFrame_Update
== Source Code ==
function ActionBarFrame_OnUpdate(this, elapsedTime)
	this.update = this.update - elapsedTime;
	if ( this.update < 0 ) then
		this.update = 0.5;
		for i = 1, ACTIONBAR_NUM_BUTTONS do
			ActionButton_UpdateUsable(getglobal(this:GetName().."Button"..i));
		end
	end
end
Category:Functions