Servus,
Folgende Fehlermeldung
1172: Definition fl.controls:Button wurde nicht gefunden.
(gleiches für TextInput) für folgenden Code (Flash CS4, Code im ersten Keyframe):
import fl.controls.TextInput;
import fl.controls.Button;
var maxParam:TextInput = new TextInput();
maxParam.x = 5;
maxParam.y = 5;
maxParam.text = "0";
maxParam.width = (this.width\*0.2)-5;
this.addChild(maxParam);
var startStopButton:Button = new Button();
startStopButton.x = (this.width\*0.2)+5;
startStopButton.y = 5;
startStopButton.width = (this.width-startStopButton.x-5);
startStopButton.label = "Start/Stop"
this.addChild(startStopButton);
stop();
Was mache ich Falsch?
Aus obiger Fehlermeldung resultiern dann noch „Datentyp nicht gefunden“ etc.
Danke für Hilfe im Voraus.
grtz
michi