Yontrakarn's profileThe official Desire web ...PhotosBlogListsMore Tools Help

Blog


    FlashOnSpaces

    Flash On Spaces
    โชว์ Flash ของคุณบน Spaces 
           
            สวัสดีครับวันนี้เทคนิคที่ผมจะมาฝากคุณเป็นเรื่องที่ผมเชื่อว่าหากคุณทำตามที่ผมบอกแล้วต้องร้องอ๋อแน่ๆเลย ครับเรื่องการนำไฟล์ Flash หรือ *.swf ของคุณมาโชว์บน Spaces นั่นเองครับ คุณจะโชว์ที่ไหนก็ได้ไม่ว่าจะเป็นในบล็อก SandBox หรือ Custom HTML เพียงคุณต้องกำหนดความกว้าง ยาวของขนาด Flash ที่จะโชว์ Copy Code นี้ไปเลยครับ
     
    <embed src="ตรงนี่ใส่ที่อยู่ของ Flash คุณ *.swf นะครับ" type="application/x-shockwave-flash"quality="high" scale="noscale" salign="l" style="width:ใส่ความกว้างที่ต้องการpx;height:ใส่ความยาวที่ค้องการpx" align="middle"/>
     
    copy code ข้างบนไปแล้วแก้ตรงจุดที่บอกนะครับ ความกว้าง ยาวก็คือขนาดของ พื้นที่ของ Flash นะครับ เราจะกำหนดเท่าไหร่ก็ได้ แต่ก็ให้มาตราส่วนมันเท่ากับขนาด Flash ของคุณนะครับ แค่นี้คุณอยากโชว์ Flash ของคุณเองที่ไหนก็ได้แล้ว ไม่ต้องง้อ WMP แล้วครับ

            ตอนแรกที่ผมกลับมาพัฒนา Spaces อีกครั้งก็ ออืม...เค้าใส่ Flash กันยังไงน้า..ก็ไปหาวิธีเห็นที่ WMP มันสามารถใส่เล่นไฟล์ swf ได้ก็อืม... ถ้าจะนำมาใช้เล่น Flash กันก็คงไม่ต้องฟังเพลงกันแล้วเนอะ เลยไปทั่วเลยครับทั้ง แต่ก็ไม่มีที่ไหนบอกมาตรงๆเลย พอได้ลองนำ flash ที่เป็น code สำเร็จรูปมาใส่ Spaces ก็มาดูที่ Code แล้วก็เอ๊ะ!! ใช้มั๊ย?? นั่นมัน....อ๋อออ ถึงบางอ้อเลย อย่างงี้นี่เอง
          สุดท้าย
    นะครับจากเรื่องที่ผมเล่ามาก็เป็นประสบการณ์อยากฝากเพื่อนๆว่า จริงๆแล้วหลายอย่างที่อยูใน Spaces นั้น เราแก้ไขมันได้ด้วย html ซึ่งเป็นภาษาเดียวที่ window live ให้เราใช้ ให้เพื่อนๆลองดูแล้วทำความเข้าใจกับมัน html เป็นภาษาพื้นฐานในการเขียนเวปเลยครับ ไม่ยากครับ ลองดูนะครับ 
     
    ตัวอย่างครับ

     
     
    Code
     
    <div align=center>
    <div><embed src="http://www.snapdrive.net/files/419312/clock.swf" type="application/x-shockwave-flash"quality="high" scale="noscale" salign="l" style="width:150px;height:40px" align="middle"/><div></div>
     

    Comments (1)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    screamwrote:
    กำ มึงเขียนซะขนาดนั้น ใครอ่านแล้วจาเข้าใจวะ แต่ก็ดีอ่ะน่ะ
    May 29

    Trackbacks

    The trackback URL for this entry is:
    http://desireband.spaces.live.com/blog/cns!B4E74807C80A01E4!1906.trak
    Weblogs that reference this entry
    • None