And I can’t find it in the control panel / power management section. After google around then I found the solution. To disable hibernation: Click Start. Type “powercfg /hibernate off” and then Press Ctrl+Shift+Enter. To enable hibernation: Click Start. Type “powercfg /hibernate on” and then Press Ctrl+Shift+Enter. A command prompt will appear and disappear. The [...]
by admin on August 13, 2009
หัวข้อนี้ไม่เขียนภาษาไทยคงจะแปลก เพราะเกี่ยวกับการดึงข้อมูลภาษาไทย จากไฟล์ XML หรือจากการส่งข้อมูลจาก Server แบบ XML Format เรื่องของเรื่องคือ พอดีได้มีโอกาสต้องทำงานดึงข้อมูลภาษาไทยมาแสดงบนหน้าเว็บ ซึ่งเนื้องานที่ทำอยู่ทุกที ไม่ค่อยได้ใช้ภาษาไทยเท่าไหร่ สรุปคือ เกิดปัญหาขึ้น แสดงได้บ้าง ไม่ได้บ้าง มี random character แปลกๆ ต่อท้ายข้อมูลที่โหลดมาบ้้าง ทำให้เกิด XML not well-formed ฟ้องขึ้นมา (ตัวอย่าง well formed xml) สุดท้ายไ้ด้ความช่วยเหลือจาก katopz และ joke และทำให้แก้ปัญหาไปได้ จึงอยากเอามาแบ่งปัน เผื่อว่าจะช่วยลดเวลาในการแก้ปัญหาของท่านอื่นๆ ได้ต่อไป ดังนี้ 1. ฝั่ง flash โหลด XML ตามปกติ แต่ห้ามใช้ System.useCodePage = true; ถ้ามีให้ comment ทิ้งไป เนื่องจากเราจะใช้การ encode [...]
by admin on January 24, 2009
This code help me solve many cool effect and also shorten my writing. Also sometime it is easily to forget so here is another good tips to note on here var colour:uint = 0xFF297400; var A:Number = colour >> 24 & 0xFF; var R:Number = colour >> 16 & 0xFF; var G:Number = colour >> [...]
by admin on November 25, 2008
This math always come back to me after a certain of time and take me 5 – 10 minutes to think or look around the correct one. So I write this down for myself and others for save time to look around. radians = degrees * Math.PI / 180 degrees = radians * 180 / [...]
by admin on November 20, 2008