джонатан
24.07.2009, 12:55
Здравствуйте! Уже утомился разбираться, может ктонибудь знает, в чем загвоздка?
class com.flashgangsta.LongText {
private static var to:Number;
private static function startMotion():Void {
trace("iris");
}
public static function add(textfield:TextField, interval:Number):Void {
str = textfield.text;
to = setTimeout(startMotion, 2000);
}
}
Выдает ошибку, вот на эту строку
to = setTimeout(startMotion, 2000);
Пишет мол «There is no method with the name 'setTimeout'».
:o
class com.flashgangsta.LongText {
private static var to:Number;
private static function startMotion():Void {
trace("iris");
}
public static function add(textfield:TextField, interval:Number):Void {
str = textfield.text;
to = setTimeout(startMotion, 2000);
}
}
Выдает ошибку, вот на эту строку
to = setTimeout(startMotion, 2000);
Пишет мол «There is no method with the name 'setTimeout'».
:o