FTF(Flash Text Formatter)とは、ActionScript 2、PHP、JavaScriptとPython言語のソースコードがサポートされて、キーワードを基づいてテキスト内容をフォーマットするオープンソースのライブラリ/ツールです。キーワードはXMLファイルに定義するので、拡張しやすいです。

FTFの使用は以下の様に簡単で使えます。

「ftf.swf」というファイルをターゲットHTMLページに組み込んで、FlashVarsを利用して以下の引数を指定とします。

  • file (フォーマット/ハイライトとするテキストファイルのパス)
  • def (キーワードが定義されているXMLファイル)
  • auto (自動的にハイライトもしくはマニュアルで)

FTF

TFTは有名なWordPressというブログシステムのプラグインも用意しています。

・Upload files from FTF_WordPress folder to ‘wp-content/plugins’ folder in your WordPress installation directory

・Login to WordPress administration panel and ‘Activate’ Flash Text Formatter plugin in ‘Plugins’ tab.

のようで簡単に使えます。

[関連リンク]

http://flashtexteditor.com/ftf/

公式サイト

メインコンテンツEND ■
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Posted on Wednesday, 17th June 2009 by admin

Tags: , , ,
Posted in ActionScript, Flash Project | Comments (0) | 1,188 views

Leave a Reply