Flex builder 2.0 doesnt recognize the AS classes if you imported them or try to pasted the files into the project (right click copy files/dir and past in the project)
To reproduce this bug: 1. Create a sample project. 2. import the existing AS classes/packages 3. in project MXML do this (assuming you have ClientVO.as in as classes) var client : ClientVO = new ClientVO(); I get the following error: Type annotation is not a compile-time constant: ClientVO my AS class confirms to AS3.0. To prove that this is a bug do this: 1. create a sample project 2. create a simple AS class ClientVO and copy the content in the previous project's ClientVO.as file as is. 3. in project MXML do this (assuming you have ClientVO.as in as classes) var client : ClientVO = new ClientVO(); You will not see any error as such This bug is a big pain when you actually migrate projects from Flex 1.5 to Flex 2.0 where you import the classes into the 2.0 project and modify accordingly rather than re-writing the AS classes from scratch. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/