Archive for Tháng Sáu, 2012

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


<OBJECT classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
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”>

(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 »

Export Putty session information in Windows

Putty stores session information in the registry.

To export the session data.

1. Click on Run

2. Type in regedit

3. Search for putty

4. You should be able to get to this key HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

5. right click on sessions and you should to export the info to a .reg file

6. copy the file to any machine you want the information to be shared and backup the registry

7. Double Click on this file and you should be able to import the data.