1. 前提
1.1需要ADOBE官网上的例子
http://labs.adobe.com/technologies/stratus/samples/#resources
1.2联网(防火墙最好关闭)
2. 修改源代码,加入 KEY, WEBSERVICE URL
KEY=开发者的KEY,没有的可参考
KEY = "HawkPrerelease-4e4efa13755c/labs.adobe.com"
或 KEY = "2589aef055198231acb9caf1-d47b81c3102b"
WEBSERVICE URL ="http://76.74.170.61/cgi-bin/reg"
3. 发布成SWF
FLEX4| 项目|导出发行版
4. 本地测试
用 FP 10 在本地打开两个.
1.1需要ADOBE官网上的例子
http://labs.adobe.com/technologies/stratus/samples/#resources
1.2联网(防火墙最好关闭)
2. 修改源代码,加入 KEY, WEBSERVICE URL
KEY=开发者的KEY,没有的可参考
KEY = "HawkPrerelease-4e4efa13755c/labs.adobe.com"
或 KEY = "2589aef055198231acb9caf1-d47b81c3102b"
WEBSERVICE URL ="http://76.74.170.61/cgi-bin/reg"
3. 发布成SWF
FLEX4| 项目|导出发行版
4. 本地测试
用 FP 10 在本地打开两个.
- package tl.bisoft.config
- {
- public class Config
- {
- public static const DEV_KEY:String = "2589aef055198231acb9caf1-d47b81c3102b";
- public static const STRATUS_URL:String = "rtmfp://stratus.adobe.com";
- public static const WEB_SERVICE_URL:String = "http://76.74.170.61/cgi-bin/reg";
- }
- }
- [Bindable] private var connectUrl:String = Config.STRATUS_URL;
- private const DeveloperKey:String = Config.DEV_KEY;
- private const WebServiceUrl:String = Config.WEB_SERVICE_URL;