flex访问java类的主要配置的地方:
1.新建项目的时候需要在新建的第二步里面把Use remote object service这个选项给选上,然后在下一步中把
D:\tengda\flex-software\blazeds.war位置给指定好
2.右键单击项目->Properties->Felx Server->把Context root 修改为:/项目名称
3.要配置remoting-config.xml文件->添加destination
<destination id="test">
<properties>
<source>com.test.Test</source>
</properties>
</destination>
4.配置mxml文件引入RemoteObject destination就是remoting-config.xml文件中配置的一个destination
<mx:RemoteObject id="target" destination="test"/>
然后在项目中就可以使用RemoteObject的id作为对这个类的一个实例进行使用了,它里面有什么方法都可以在这边进行调用了。
没有合适的资源?快使用搜索试试~ 我知道了~
flex访问remoteObject实例
共44个文件
jar:12个
xml:6个
js:4个
5星 · 超过95%的资源 需积分: 9 20 下载量 94 浏览量
2012-03-27
09:19:10
上传
评论 1
收藏 4.7MB ZIP 举报
温馨提示
本实例介绍如何使用flex 访问 remoteObject,里面除了实例之外还对项目的配置过程进行了详细的介绍,只要按照步骤去配置你就可以配置好的。
资源推荐
资源详情
资源评论
收起资源包目录
remoteObjectDemo.zip (44个子文件)
remoteObjectDemo
read-me.txt 850B
.project 1KB
.actionScriptProperties 1KB
.flexProperties 359B
src
com
test
Test.java 140B
WebRoot
WEB-INF
src
classes
com
test
Test.class 631B
lib
flex-messaging-opt.jar 20KB
flex-messaging-proxy.jar 65KB
flex-messaging-core.jar 629KB
flex-messaging-common.jar 88KB
backport-util-concurrent.jar 319KB
commons-codec-1.3.jar 46KB
commons-httpclient-3.0.1.jar 273KB
xalan.jar 3MB
cfgatewayadapter.jar 15KB
commons-logging.jar 37KB
flex-messaging-remoting.jar 18KB
concurrent.jar 168KB
web.xml 2KB
flex
services-config.xml 4KB
messaging-config.xml 513B
proxy-config.xml 826B
remoting-config.xml 521B
META-INF
MANIFEST.MF 253B
bin-debug
history
history.css 371B
historyFrame.html 827B
history.js 24KB
playerProductInstall.swf 657B
AC_OETags.js 8KB
remoteObjectDemo.swf 416KB
remoteObjectDemo.html 4KB
.settings
org.eclipse.wst.common.project.facet.core.xml 269B
org.eclipse.jdt.core.prefs 330B
org.eclipse.jst.common.project.facet.core.prefs 288B
org.eclipse.core.resources.prefs 88B
org.eclipse.wst.common.component 596B
flex_src
remoteObjectDemo.mxml 922B
flex_libs
html-template
history
history.css 371B
historyFrame.html 827B
history.js 24KB
index.template.html 4KB
playerProductInstall.swf 657B
AC_OETags.js 8KB
.classpath 558B
共 44 条
- 1
资源评论
- f5045019832016-08-27很好的例子
信行合一
- 粉丝: 912
- 资源: 196
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功