Because the function that creates the frame is local, only code within that .lua file can call CreateRollFrame().
Becasue the frame is not given a name, there is no way for code outside that .lua file to access the frame once it has been created unless the fames is parented to another frame that at some stage has been given a name.
Last edited by Fizzlemizz : 08-19-15 at 02:44 PM.
|