Re: [Flashcoders] pass variables between classes in AS3

2006-07-27 Thread Supriya
I could not get your problem exactly, but is this what you are looking for? //The document class package { import flash.display.MovieClip; public class myClass extends MovieClip { public static var myArr:Array=[1,2,3]; private var myC2 = new myClass2 function myClass() { sendArrays() } fu

RE: [Flashcoders] pass variables between classes in AS3

2006-07-27 Thread Mike
Depends on the structure, but, in the end, it sounds like it will boil down to having some static method for the the document class to find the movieclip, or the movieclip to find the document class. The simplest variant of this approach is the Singleton pattern. Is there only one instance of your