2014年12月7日

摘要: 1 导入rpc.swc 包含RemoteObject对象2 导入framework.swc 包含RemoteObject 需要用到的类3 这个时候,会提示Resource Bundle错误, 原因就是没有导入rpc framework相关resourcebundle文件 在项目根目录下loc... 阅读全文
posted @ 2014-12-07 17:40 Rogo_s_Blog 阅读(158) 评论(0) 推荐(0) 编辑

2012年7月31日

摘要: 阅读全文
posted @ 2012-07-31 11:04 Rogo_s_Blog 阅读(141) 评论(0) 推荐(0) 编辑

2012年7月28日

摘要: Stage->SystemManger(MovieClip)SystemManager.stop() // 停留在第一帧preLoader... 初始化 加载资源SystemManager 进入第二帧实例Application WindowedApplication 阅读全文
posted @ 2012-07-28 14:58 Rogo_s_Blog 阅读(143) 评论(0) 推荐(0) 编辑
摘要: SystemManager类的职责是配置并启动Flex应用程序。SysemManager的一项重要工作就是实例化Application,并将Application实例添加到Flash Player的displayList中。它还被用作Flex应用中一些顶级元素(如 popups、tooltips、cursors等)的载体,除此之外,它也负责这些顶级元素的焦点(focus)管理。SystemManager实例化还你的Applicaion,并将它添加到Flash Player的displayList中。当Flex SWF文件被客户端请求时,SWF文件会以“流”的形式不断流向客户端的Flash Pl 阅读全文
posted @ 2012-07-28 11:59 Rogo_s_Blog 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: Sprite cacheAsBitmap: 阅读全文
posted @ 2012-07-28 10:36 Rogo_s_Blog 阅读(121) 评论(0) 推荐(0) 编辑

2012年5月21日

摘要: flash.profiler.showRedrawRegions(true, 0xFF0000); 阅读全文
posted @ 2012-05-21 13:57 Rogo_s_Blog 阅读(120) 评论(0) 推荐(0) 编辑

2012年4月24日

摘要: 1 Decompile Main.swfthis.connect(URI.ip, URI.port);查看URI public static function get ip() : String { return _args["ip"] || _domain || "";}public static function get port() : int { return _args["port"] || _serverPort || 0; }从上面可以看出,ip port均由外面传入,下面去页面数据中找到这两个值ip=8x155.xd. 阅读全文
posted @ 2012-04-24 11:17 Rogo_s_Blog 阅读(141) 评论(0) 推荐(0) 编辑

2012年4月23日

摘要: Key-Value Coding; Key-Value ObservingIn Xcode, create a new project of typeCocoa Application. Name the projectKVCFun. In the project, create a new file of typeObjective-C Class. Name the classAppController.At this point in our exploration of key-value coding, you simply need an instance ofAppControl 阅读全文
posted @ 2012-04-23 22:18 Rogo_s_Blog 阅读(202) 评论(0) 推荐(0) 编辑

2012年4月20日

摘要: URL文件下载1 打开XCode 新建一个工程UrlDownloader2 打开MainMenu.xib 在视图上添加一个NSTextField,用于输入url地址 再创建一个NSButton下载按钮3 创建一个DownloadController文件编码如下://// DownloadController.h// UrlDownloader//// Created by Rogo on 4/20/12.// Copyright (c) 2012 Rogo.com. All rights reserved.//#import <Foundation/Foundation.h>@in 阅读全文
posted @ 2012-04-20 21:48 Rogo_s_Blog 阅读(362) 评论(0) 推荐(0) 编辑

2012年4月19日

摘要: 源码地址:https://com-rogo-home.googlecode.com/svn/trunk/ RogosBox For QQ程序地址: http://rogo.sinaapp.com/qq 阅读全文
posted @ 2012-04-19 16:16 Rogo_s_Blog 阅读(176) 评论(0) 推荐(0) 编辑

导航