Hỏi code chèn flash swf vào web
Bác nào rành code với Flash cho mình hỏi:
Có 1 đoạn code hiện đang dùng file homepage_logo.gif như sau: (xem quote bên dưới)
Bây giờ mình muốn thay file gif đó thành 1 file Flash SWF (ví dụ myflash.swf) thì làm cách nào? Cần sửa những gì? (giả sử file gif và flash ở cùng thư mục)
Thanks.
Quote:
<!-- Module Editorial -->
<div id="editorial_block_center" class="editorial_block">
{if $xml->body->home_logo_link}<a href="{$xml->body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if}
{if $homepage_logo}<img src="{$this_path}homepage_logo.gif" alt="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if}
{if $xml->body->home_logo_link}</a>{/if}
<!-- {if $xml->body->logo_subheading}{$xml->body->logo_subheading|stripslashes}{/if} -->
{if $xml->body->$title}<h2>{$xml->body->$title|stripslashes}</h2>{/if}
{if $xml->body->$subheading}<h3>{$xml->body->$subheading|stripslashes}</h3>{/if}
{if $xml->body->$paragraph}<p>{$xml->body->$paragraph|stripslashes}</p>{/if}
</div>
<!-- /Module Editorial -->
Nhân tiện cho hỏi phần mềm nào chuyên tạo flash banner? loại banner to ở đầu mỗi trang web đó.
Thanks.