Posts Tagged: flash


16
Dec 09

几句话

  • 少谈国是了,让政治家去YY吧~~
  • Pixlr画了个icon..这个在线编辑器很强大,整个swf才200k..
  • 准备花点时间好好研究下Pixlr的实现

  • 14
    Nov 09

    64位ubuntu9.10安装Debug版Flash和FlashTracer

    Adobe官方不提供64位的debug版本flash,只有32位的,如果直接运行下载来的安装程序会提示错误。在网上搜索了半天,没找到满意的答案。后面在一个帖子找到相对靠谱的答案,但原帖子说法有点错误,下面介绍下步骤:

    一、安装debug版本flash10

    1.卸载已经安装的各种插件。运行aptitude search flash,可以看到你系统中包含flash关键字软件的安装情况,例如我当前的:
    p flashblock – mozilla extension that replaces flash elem
    i flashplugin-installer – Adobe Flash Player plugin installer
    p flashplugin-nonfree – Adobe Flash Player – browser plugin
    p flashybrid – automates use of a flash disk as the root
    p libroxen-flash2 – Flash2 module for the Roxen Challenger web
    p m16c-flash – Flash programmer for Renesas M16C and R8C
    p python-webflash – Portable flash messages for Python WSGI ap
    p vrflash – tool to flash kernels and romdisks to Agen
    上面第二行的“i flashplugin-installer ”表示已安装的软件,如果你还安装了flashplugin-nonfree,建议把两个都通过sudo apt-get purge flashplugin-installer和sudo apt-get purge flashplugin-nonfree卸载掉。

    2.安装flashplugin-installer,sudo apt-get install flashplugin-installer

    3.下载flash player 10 for linux。http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz 地址可能会变更,找不到自己google下:adobe flash debug linux。解压出压缩文件里的libflashplayer.so替代flashplugin-installer安装的libflashplayer.so。假设解压后放在/home/tsung/文件夹,sudo cp /home/tsung/libflashplayer.so /usr/lib/flashplugin-installer/libflashplayer.so
    到这里,debug版本的flash就安装完成了。

    二、安装Flash Tracer
    Flash Tracer用来查看开发者在开发过程中trace函数打印出来的内容(网络上所有flash文件,只要有trace都会打印出来),对于多人协同开发跟踪很有帮助(例如服务端和前端开发由不同的人完成)。安装比较简单,就一个Firefox扩展。下载地址:http://www.sephiroth.it/firefox/flashtracer/ 。这个版本比ff网站上的新点。安装后要先配置好flashlog.txt位置,上面网站上有解释。
    * Windows XP: C:\Documents and Settings\{user}\Application Data\Macromedia\Flash Player\Logs\flashlog.txt
    * Windows Vista: C:\Users\{user}\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
    * Linux: /home/username/.macromedia/Flash_Player/Logs/flashlog.txt
    * OSX: /Users/{username}/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
    如果这个文件不存在则创建一个。
    安装正常的话,在home目录底下会有一个mm.cfg文件(例如我的是/home/tsung/mm.cfg,确保里面的内容类似底下这样:
    TraceOutPutFileName=/home/tsung/.macromedia/Flash_Player/Logs/flashlog.txt
    ErrorReportingEnable=1
    TraceOutputFileEnable=1
    MaxWarnings=100

    都完成以后,打开FF菜单Tools底下的Flash Tracer(重启FF以后),然后访问嵌入flash的网站,如果Flash Tracer上打印出内容,那恭喜你成功了!