I have a symbol named picHolder. In symbol properties under linkage, I chose “Export for ActionScript” and “Export in frame 1” and gave it a class name of picHolder.
Normally, to instantiate a new instance, I’d say:
var tempPic:picHolder = new picHolder();
and I’d go about my way.
However, I’ve recently discovered the wonder of Document Classes and my Document has a class of “Foo” and in Foo.as, I write all of my ActionScript.
The problem is, I can’t, for the life of me, figure out how to create an instance of picHolder in my document class file, Foo.as
Any suggestions?