Flex放了有一段时间了~ 这些天再拾起来~ 居然出了问题也弄不出来~
写了一个模块,用到了几个VO,但是编译怎么也提示那个类型找不到或不是编译类型,我前前后后查了好久~
名称没有写错,引用没有写错,路径更没有错~ 但编译就是不行~
后来查了一天多才发现,是VO类里的包路径写错了~
窗体类
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
title="厂家详细信息"
width="500" height="516"
creationComplete="creationCompleteHandler(event)" >
<mx:Script>
<![CDATA[
import com.xx.factory.entity.VendorAS;
import mx.managers.PopUpManager;
......
实体VO类
package com.xx.factory.entity {
import mx.collections.ArrayCollection;
[Bindable]
[RemoteClass(alias="com.xx.factory.entity.Vendor")]
public class VendorAS {
......
之前错误的写法:
package com.xx.model.entity {
import mx.collections.ArrayCollection;
[Bindable]
[RemoteClass(alias="com.xx.factory.entity.Vendor")]
public class VendorAS {
......
以后要提醒自己细心呀~
然后还同事提醒还发现一个有意思的用法,以前没有用过~
可以这样定义变量:
......
public var vendor:*;
......
分享到:
相关推荐
1 8 跟我StepByStep学FLEX教程------Demo3之数据类型 1 9 跟我StepByStep学FLEX教程------Demo4之进度条数据绑定 1 10 跟我StepByStep学FLEX教程------Demo5之事件Event 1 11 跟我StepByStep学FLEX教程------...
修改后的flex-config.xml文件 博文链接:https://swingchen.iteye.com/blog/131936
Flex SVN--1.5.5版本Flex SVN--1.5.5版本Flex SVN--1.5.5版本Flex SVN--1.5.5版本Flex SVN--1.5.5版本Flex SVN--1.5.5版本Flex SVN--1.5.5版本
flex-2.6.4.tar.gz
spring-flex-1.5.0.M2-dist.zip spring-flex-1.5.0.M2 spring-flex-1.5.0.M2.jar SBI
flex-messaging-core jar包
Flex blazeds-spring Flex blazeds-spring Flex blazeds-spring Flex blazeds-spring Flex blazeds-spring Flex blazeds-spring
flex-messaging-4.7.3最新版本的jar
跟我StepByStep学FLEX教程------王一松
flex-messaging类包是flex结合JAVA开发通信使用
在引导安装操作系统之前,首先要配置raid,否则找不到硬盘(raid配置,详见R 690服务器raid配置部分),其次配置服务器ILO口IP地址(开机时按F9设置),通过ro more console登陆服务器界面如下: (R690服务器H3C...
flex-messaging-common
跟我StepByStep学FLEX教程------王一松.pdf
flex 实例 ----示波器的制作 flex 实例 ----示波器的制作
flex-messaging-proxy.jarflex-messaging-proxy.jarflex-messaging-proxy.jarflex-messaging-proxy.jar
flex-messaging-core-4.7.3.jar 最新版,下载了好长时间才下载下来,亲测可用!
flex-messaging-core-amf1.7
flex-iframe-1.4.6.rar (code google)