易截截图软件、单文件、免安装、纯绿色、仅160KB

Ubuntu下Flash中将汉字显示为方格的解决办法

Ubuntu下装完Adobe的Flash插件后,浏览器里可以播放Flash动画了。但是还存在一个问题就是汉字无法正确显示,显示为方格
解决办法:
修改这个配置文件
/etc/fonts/conf.d/49-sansserif.conf
把其中所有的字体名替换为中文字体名即可,我这里用的是“微软雅黑”和“Consolas“。
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
  If the font still has no generic name, add sans-serif
 -->
    <match target="pattern">
        <test qual="all" name="family" compare="not_eq">
            <string>微软雅黑</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>微软雅黑</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>Consolas</string>
        </test>
        <edit name="family" mode="append_last">
            <string>微软雅黑</string>
        </edit>
    </match>
</fontconfig>


相关文档:

AFLAX学习记录之 flash基础知识


ExternalInterface
ExternalInterface 类是外部 API,在 ActionScript 和 Flash Player 的容器之间实现直接通讯的应用程序编程接口,
例如,含有 JavaScript 的 HTML 页。 推荐对所有 JavaScript 与 ActionScript 之间的通信使用 ExternalInterface。
在 HTML 页中使用 JavaScript,可以调用 Flash Player 中的 Actio ......

FusionCharts + JQuery制作Flash报表

1.首先下载FusionCharts 和 jquery相关的jar包
 
2.在WebRoot(MyEclipse)下新建script文件夹,放入jquery.js。新建FusionCharts,将fusionCharts包下的Charts文件夹粘贴过来(里面为各种图像报表的模板:如FCF_Area2D.swf、FCF_Bar2D.swf等等),将FusionCharts.js拷入FusionCharts目录下。
3.准备工作完毕、编写 ......

flash全屏和非全屏的转换

var aa:Boolean = true;
my_btn.onPress = function() {
 if (aa == true) {
  fscommand("fullscreen", true);
  aa = false;
 } else {
  fscommand("fullscreen", false);
  aa = true;
 }
};
my_btn是一个按钮 ......

FLASH安全沙箱服务器端程序代码(跨平台,C++/JAVA)

Main.cpp  (Win/*nix)
#include "FlexSecurityBox.h"
int main(int argc, char ** argv) {

char * address;
short port;
if (argc == 2)
{
address = "0.0.0.0";
port = atoi(argv[1]);
} else if (argc == 3)
{
address = argv[1];
port = atoi(argv[2]);
} else
{
printf("Y ......

Metal F1 USB Flash Drive

HTML clipboardThese days a
16GB USB thumb drive
is as necessary as your house keys. Whether you are
taking large work files back and forth from the office or are sharing pictures,
videos, and music with friends, nothing beats the convenience of a USB storage
drive. Well, why not make sure t ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号