Very new to Flex. I have an AS3 project in Flex and did not have data types with my vars and methods at first. I am not trying to add them, but as I do, they problem icon on the left does not go away. Why might this be? What am I doing wrong?
Here is an example:
public function VirtualPet (name:String) :void
Which I get the error message: "parameter 'name' has no type declaration."
private var petName:String;
Which I get the error message:
1008: parameter 'petName:String' has no type declaration.
Why is that? Seems like it does not recognize the colon?
Thanks a lot for any help!!!
Have you cleaned your project afterwards? In Flex Builder, navigate to: Project>Clean...