Expand my Community achievements bar.

Defining Data Models

Avatar

Level 1
Hello,



I am following the examples from the link below:




http://www.adobe.com/devnet/flex/quickstart/defining_data_models/



I have right clicked on the example for using a class based
model and I have downloaded the zip files into a flex project. When
I try to compile the code I get this error:

1046: Type was not found or was not a compile-time constant:
EmployeeModel. DataModelsModelClass.mxml



Can anyone tell me what I am doing wrong? Thanks in
Advance
1 Reply

Avatar

Level 2
Looks like you also need to copy and save the
EmployeeModel.as and EmployeeTO.as from the article.