Archive for the ‘Flash’ Category

Lấy giá trị từ FlashVars trong ActionScript

FlashVars

<OBJECT classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
codebase=”"http://macromedia.com/cabs/swflash.cab#version=6,0,0,0″”
WIDTH=”250″ HEIGHT=”250″ id=”flaMovie1″ ALIGN=”CENTER”>

<param name=”flashvars” value=”textdisplayvalue=Hello%20Pierre“>


<embed src=”flaMovie1.swf” FlashVars=“textdisplayvalue=Hello%20Pierre“ quality=”high” bgcolor=”#FFFFFF” WIDTH=”250″ HEIGHT=”250″ NAME=”flaMovie1″ TYPE=”application/x-shockwave-flash”>
</OBJECT>

(Netscape chỉ hiểu embed, IE thì chỉ hiểu param trong Object, vì vậy ta cần làm cả 2 thẻ này) Read the rest of this entry »