I am not able to use the actionscript class in the mxml. I have
declared a class as follows:
Class: Program.as
import mx.collections.*;
//These imports should be unnecessary in the final release
import mx.data.IManaged;
import mx.data.utils.Managed;
import mx.core.mx_internal;
[Managed]
[RemoteClass(alias="test.Program")]
public class Program {
//auto generated
private var programId:int;
//auto generated
private var programName:String;
...
...
}
mxml code:
import test.Program;
[Bindable]
public var program:Program;
Error:
Type is not found or not a compile-time constant: Program
36: public var risks:ArrayCollection;
37: public var program:Program;
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.