Hi....
How do I call a private function from an external ActionScript3 document? I'm working in Flash Builder 4, and I need to call a private function from an external AS3 document. I think I've imported it correctly....
import myapp.utils.WebcamFaceDetector;
import myapp.utils.FaceDetector;
But I want to call a function from "FaceDetector". Here's the part of the code in FaceDetector...
public class FaceDetector
{
    private var detector    :ObjectDetector;
    private var options     :ObjectDetectorOptions;
    private var faceImage   :Loader;
    private var bmpTarget   :Bitmap;
    private var view :Sprite;
    private var faceRectContainer :Sprite;
    private var tf :TextField;
    private function FaceDetector() {
        initDetector();
    }
    //...
}
I want to call "private function FaceDetector()" to initiate at a certain point in another AS3 file. How do I properly declare it and get it to run?
Thanks, Alex