Ryan的其他文章

多个SWF之间通过LocalConnection进行通讯

SWF: 

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

使用 LocalConnection 通信可以支持方式:

Adobe Flash Builder "Burrito" 以及 Adobe Flex SDK "Hero"

  新的Flash Builder "Burrito"的预览版已经出来了!它包含一系列的新特性,其中最令人兴奋的是“Developing mobile and multiscreen

application/x-www-form-urlencoded 与 multipart/form-data 的区别

在Flex中,UrlRequest中的contentType默认值为 application/x-www-form-urlencoded。

As中获取对象类名的常用方法 -- getClassName(...)

 1. mx.core.UIComponent.className():String

如果要操作的对象是UIComponent, 可以直接访问它的className属性,如:

trace( myButton.className ) -> Button

Flex中旋转效果的实现(小技巧)

SWF: 

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

看上边的例子你如果以为那是用“三角函数”算出来的,那你现在有可能正走在一条阳光大道上,但那不一定是捷径。

在flex中有这样一个属性:

Flex 中设置 (Spark/MX)TextArea 滚动位置

 TextArea 是一个文本输入控件,供用户输入和编辑多行各种格式的文本。它可以显示水平和垂直滚动条,以便能够对文本进行滚动,并支持使用鼠标滚轮垂直滚动。

[转]AS3和Flex常用知识100条

 【改变输出swf的尺度,背景颜色或帧频】 

ActionScript 类中属性的 PropertyChangeEvent

图片: 
SWF: 

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

PropertyChangeEvent 类代表对象的一个属性发生更改时传递到事件侦听器的事件对象,并提供有关更改的信息。此事件由集合类使用,并且是集合了解其提供的数据发生更改的
唯一方式。Flex 数据绑定机制也使用此事件。

Flex和Java(Blazeds)登录成功后模块下载以及页面切换的简单例子

SWF: 

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

本例中用户访问服务端登录成功之后通过调用“ModuleLoader”下载“Navigation模块(内页)”。

Flex与Java配合使用BlazeDS进行通讯的HelloWorld例子

图片: 
SWF: 

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

 在项目设计中常需要Flex与Java配合使用BlazeDS进行通讯。虽然知道是怎么回事,但一直没有亲身搭建过。5.1空虚中,所以搭建一个简单的HelloWorld分享给大家。

As实现类似Java导入静态数据“import static”的技巧

在Java语言中我们可以导入静态数据,以简化静态属性和方法的使用。

Java中使用iText-2.1.7.jar创建PDF的实例

iText简介   iText是用于生成PDF文档的一个java类库,可以在官网上下载iText.jar文件来使用。