Description:
This is one of the best descriptions that I have seen for a Flash Error. This Flex/Flash Error is actually just a Flex/ Flash Warning. This error/warning means exactly what it says. You just forgot the parentheses () when you tried to make a method call.
Fix:
Add the Parenthesis
Bad Code:
[as]
var myTime:Timer = new Timer(1000, 3);
myTime.start;
[/as]
or
[as]
var myDate:Date = new Date();
myDate.getDate;
[/as]
Good Code:
[as]
var myTime:Timer = new Timer(1000, 3);
myTime.start();
[/as]
or
[as]
var myDate:Date = new Date();
myDate.getDate();
[/as]
Advertisements
What does this warning message mean if you have parentheses?
LikeLike