I am calling an instance of my boxes class (that draws boxes on the screen) from my document class. This class has a getter function that parses the array containing all the lines I have used to create the boxes. I can call that getter from my document class no trouble. But I have another PUBLIC STATIC class (call it my Dissolve class) that is required to dissolve these boxes from the screen. So I need to get the Array from the boxes class. I can’t seem to do it…
Here is the code for my getter function (Boxes Class):
public function get boxes():Array {
return boxArr;
}
Here is the code to get the Array from the document class where an instance of the boxes class has been created and called “box” I have turned it into a getter function to try and access it from the PUBLIC STATIC class Dissolve:
public function get pbox():Array {
tt = Array(box.boxes);
return tt;
trace("Got box from dboxesParser");
}
And here finally is the DISSOLVE class I am trying to access it from:
package {
public class TraversePage {
public static function st_bi():void {
var _tt:Array = Array(portfolio.pbox);
}