在網頁上顯示 iTunes Library 的 Cover Flow.


透過 iTunes Library 的 Cover Flow 你們可以知道我都聽哪些音樂 😀 雖然你們不見得有興趣知道.

終於找到這隻程式. 但是, 還不能正常顯示中文. 看誰有 flash 的編輯器幫忙一下. 如果有那位善心人士. 能提供中文顯示的 .swf 感激不盡! 謝謝!

按這裡全螢幕顯示.

我在玩這個flash. 但是我一直搞不清楚要怎麼透過xml顯示中文.
我的xml 如下.

1
2
3
4
5
6
7
8
9
10
<?xml version=”1.0″ encoding=”utf-8″ ?>
<artworkinfo>
    <albuminfo>
        <artLocation>./getartwork.php?no=31</artLocation>
        <artist>合輯</artist>
        <albumName>放耳朵去流浪</albumName>
        <artistLink></artistLink>
        <albumLink></albumLink>
    </albuminfo>
</artworkinfo>

在 flash 內 action內設定了 System.useCodepage = false; or System.useCodepage = true; 都還是不能顯示中文.
在檔案的最前面也加入了 //!– UTF8
還有那個顯示的區塊也設定”新細明體”. 請問一下還有什麼可以設定. :$

如果你是 flash 達人請您教教我. 謝謝.

解決了!!!

因為 xml 本身是 utf-8. Flash CS4 內建也是用 unicode 所以不需要設定 System.useCodepage = true; 除非你要用 big-5.
再來就是要嵌入某些字集. 如下圖 :

黑皮!! 搞定了.


參考 : Flash iTunes Cover Flow – Version 2

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.