yes; actually what i thought was explicit definitions will be enough.(like
in java)
more specifically, there are too many VO's in the application (cairngorm).
i tried importing every class VO one by one, but it did not solve the
problem, i again had to
ctrl+space.
i made a diff on the frontController (after and before ctrl+space); what it
does is just removing some of the imports (although they are valid). after
it, all errors in the frontController goes but there are errors in the VO's
so i can not be sure whether it fixed the frontController or not.
since the project is confidential, i can not send code here :(
anyway we changed our implementation and removed duplicate name classes and
the errors are gone;
thanks in advance...
On Dec 3, 2007 8:17 PM, Mike Morearty [EMAIL PROTECTED] wrote:
You are probably omitting the import statement -- you are probably
assuming that since you explicitly qualified the class name, the
import is not necessary. In Java, if you explicitly qualify a class
name in your code, then you don't need to have an import statement
at the top of the file. But Flex is different: You still need the
import. When you do ctrl+space, the import gets inserted for you,
so that's probably why that case works.
- Mike Morearty, Flex Builder team
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, yigit
[EMAIL PROTECTED] wrote:
hi all;
in my cairngrom application, i have many classes and some of them has
the same name but of course diffrent packages.
i autogenerate code, so to not to let ambiguity, i alway use classes
with their packages.
e.g.
instead of writing var foo:Foo;
i write var foo:tr.com.sth.vo.Foo;
the compiler give and interesting error, saying that con not recognize
tr (my initial package name);
but when i go to the end of
tr.com.sth.vo.Foo and press ctrl+space
after waiting seconds, and rebuilt; the error goes! (without any change
in the source).
i'm using beta2 on eclipse.
i think the compiler gets confused, but what can be the reason for
this,
are there tips to overcome??
thanks...