how can i reference a public class array from outside that class i get reference errors with everything that i’ve tried
this is in the class (omitting the useless code)
public var Slots:Array = new Array()
var slot1:MovieClip = new MovieClip();
Slots[num] = slot1
(num is 1-30 from the loop that this code is in)
and on the codes that i have tried that exists outside of the class (that doesn’t work)
CLASS.getArray(Slots[num]).visible = false
CLASS.Slots[num].visible = false