I think Manish is right. There is something wrong with your projects settings 
or the class is not in the directory structure you specified in the import 
directive. I'v tried (copy/paste) your code in a new project in my FB eclipse 
plugin and it works smoothly. I run it and no error it display the 3 objects 
you've created.

Claudiu





________________________________
From: Manish Jethani <[email protected]>
To: [email protected]
Sent: Friday, January 2, 2009 9:02:44 PM
Subject: Re: [flexcoders] 1180 Error


On Fri, Jan 2, 2009 at 3:46 AM, jason1701e <ja...@jasonbyer. com> wrote:

> I have the following Address Class:
>
> package com.jherrington
> {
>        public class Address
>        {

[snip]

> The problem is that I receive an 1180 Error saying the following:
> Call to a possible undefined method Address.

Is your Address class in the source path? Try declaring a variable of
type Address. If you get an error on compilation, your source path is
wrong. You can use the source-path compiler argument to mxmlc to add
the class to the path (or update the Project Properties in Flex
Builder).

Manish

-- 
http://manishjethan i.com/
    


      

Reply via email to