FPEのブレンド機能HardLightでのテロップ
FPEのブレンド機能を使ってテロップのスクロールを試しました。
ブレンドモードHardlightのグレー(#808080)を基準に画像の合成を行うという特徴を利用して、Flashでの日本語テロップ表示ができます。
容量の関係でswfに日本語フォントを組み込めない等の状況下で有効な手段だと思います。
準備した画像の縮小イメージ
FPEに読み込ませる定義ファイルの例
<?xml version="1.0" encoding="UTF-8" ?>
<pagedata>
<common>
<copyright>elz.jp</copyright>
<banner_align>3</banner_align>
<effect_type>28</effect_type>
<effect_time>90</effect_time>
<stop_time>0</stop_time>
<align_mode>8</align_mode>
<background>images/telop_bg.jpg</background>
<bg_effect>2</bg_effect>
<bg_time>20</bg_time>
<zoom_mode>0</zoom_mode>
</common>
<expert>
<image>
<image_url blend_mode="normal">images/telop_normal.jpg</image_url>
</image>
<image>
<image_url blend_mode="hardlight">images/telop_hardlight.jpg</image_url>
</image>
<image>
<image_url blend_mode="overlay">images/telop_overlay.jpg</image_url>
</image>
</expert>
</pagedata>
