Tag Archives: flex

Flex皮肤制作方法

首先Flex本身为我们提供了几套皮肤,这些文件可以在Flex的SDK的文件夹下的\sdks\3.2.0\frameworks\themes 文件夹下

其中AeonGraphical文件夹下为我们提供了一个组件的fla源码。我们可以打开这个

AeonGraphical.fla,其中我们可以看到所有的flex的空间的默认显示图形。

如上图,左侧是我们能看到的组件的现实情况,包含了各种状态的显示情况,右侧是这些显示元素的元件包。

我们以checkBox为例,介绍如何修改flex的皮肤。

首先新建一个fla文件,随意命名,这里我命名为checkBox.fla,之后全选AeonGraphical.fla中的che   more...

Flex SecurityError: Error #2148 While Accessing local XML

So you’ve published your Flex application that accesses local XML, but when you try to run it outside of your Flex Builder folder, you might get a Flash Player Debugger error #2148. I ran into this problem while on a tight deadline, and am reposting here to get the word out.
To fix this, you need:

to right/control click your Flex Project folder in the Navigator
Select properties
Choose Flex Compiler in the popup window
Add “-use-network=false” under Additional compiler arguments
Hopefully, this’ll save someone some time…