04-13-2012 03:32 AM
Hi every one,
I Just downloaded the 2.0 sdk and making a test app with some labels and textinputs, for TextInput field I am getting this error, can any one tell me how to solve this.
Error #1014: Class flash.events:oftKeyboardEvent could not be found.
04-13-2012 04:26 AM
You've used a class, in this case SoftKeyboardEvent, that has not been imported. You need to add an import statement so that the Flash Builder compiler knows where to find the class:
Normally, FB will add required imports when you use code completion to add instances or generate event handlers. In some cases, usually if your code contains syntax errors while usng code completion, FB can't quite determine what needs to be imported.
04-13-2012 08:41 AM
Thanks for your reply, my code is here
public class Main extends Sprite
public function Main()
// support autoOrients
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
var label:Label = new Label();
label.text = "Test App..............";
var input:TextInput = new TextInput();