package{
import flash.display.*;
public class Whatever extends MovieClip{
public function printButton(){}
}
}
Thursday, November 29, 2007
Actionscript 3 Adventures - ReferenceError: Error #1065: Variable Whatever is not defined.
Make sure that your class is defined as Public.
Wednesday, November 28, 2007
Actionscript 3 Adventures - Setting the focus of a textField and inserting a caret (cursor)
stage.focus = MovieClipReference;
Tuesday, November 27, 2007
AS3 Adventures - 1046: Type was not found or was not a compile-time constant: TextField
If your MovieClip has a TextField in it that was placed on the timeline then simply add the following line to the package definition.
import flash.text.TextField;
import flash.text.TextField;
Subscribe to:
Posts (Atom)