Ayres's profileViking's personal space ...PhotosBlogListsMore Tools Help

Blog


    Flash音乐播放器的创建与使用

    Flash音乐播放器的创建与使用

    要创建一个个性的Flash音乐播放器,我们首先要为空间添加一个小工具“Sandbox

    1.在登陆状态下点击“自定义”->“模块”->“小工具”->“从 Windows Live™ Gallery 中添加小工具

    2.在网页小工具类别里选择“工具和实用程序”,找到“Sandbox 简体中文版”添加。添加完成后移动到适当位置保存设置


    接着我们要开始申请制作播放器了

    1.点击进入MySpace(右键链接在新窗口中打开)

    注:邮箱要填写正确,因为要接收确认函!

    2.邮箱确认后打开主页点击“Log In”登陆,登陆后点击“MP3 Players”进行播放器选择

    3.可以选择各种样子的播放器,推荐最后两个

    4.选择好播放器样子后,进入编辑播放器页面

    1)选择播放器颜色

    2)为播放清单命名

    3)制作播放清单

     

    4)进一步调整播放清单

    5)全部编辑好后点击上面播放器下的“I'm Done!”获得代码


    得到代码如下:

    <center><object type="application/x-shockwave-flash" data="http://www.mp3asset.com/swf/mp3/fetish-mp3player.swf" height="320" width="250" align="middle">
         <param name="movie" value="http://www.mp3asset.com/swf/mp3/fetish-mp3player.swf" />
         <param name="allownetworking" value="internal" />
         <param name="allowScriptAccess" value="never" />
         <param name="enableJSURL" value="false" />
         <param name="enableHREF" value="false" />
         <param name="saveEmbedTags" value="true" />
         <param name="flashvars" value="myid=2110205&path=2007/04/29&mycolor=0xffffcc&mycolor2=0x333333&mycolor3=0xcc9999&autoplay=&rand=1&f=3" />
         <param name="menu" value="false" />
         <param name="quality" value="best" />
         <param name="scale" value="noscale" />
         <param name="bgcolor" value="#ffffff" />
         <param name="wmode" value="transparent" />
       </object></center><br><center><a href="http://www.myflashfetish.com" target="_blank"><img src="http://mp3assets.com/images/badgemp3player.gif" alt="Myspace Mp3 Player, MySpace MP3 Players, Flash MP3 Players" style="position:absolute; left:0px; top: 88px; z-index:9;" border="0"></a>I made this <a href="http://www.myflashfetish.com" target="_blank">MySpace Music Player</a> at <a href="http://www.myflashfetish.com" target="_blank">MyFlashFetish</a>.com.</center><br><br>


    这段代码由于字数过多,超过了Sandbox允许的字数范围,而且也存在Space不支持的语法,所以我们需要对代码进行精简,简化后代码如下:

    <embed src="http://www.mp3asset.com/swf/mp3/fetish-mp3player.swf?myid=2110205&path=2007/04/29&mycolor=0xffffcc&mycolor2=0x333333&mycolor3=0xcc9999&autoplay=true&rand=1&f=3menu="false" quality="best" scale="noscale" bgcolor="#ffffff" wmode="transparent" width="370" height="263" align="middle" type="application/x-shockwave-flash"/>


    说明:代码的紫色部分都是自己对播放器的相关设定,绿色部分是设定值。我们要做的就是把原始代码里的蓝色部分的绿色设定值,替换为下面紫色代码里的绿色设定值

    代码里的width对应的是播放器的宽度,height对应的是播放器的高度,可以根据自己的需要加以修改。(我这个版式测试下来宽度为370,高度为263正好)


    5.现在我们要把修改好的代码复制到Sandbox里,点保存预览就OK了

    注:Sandbox里还能添加许多别的东西,大家可以把它当作一个小的HTML模块来使用。同样MySpace里还有一些有趣的东东,比如做幻灯片相册啦,有兴趣的可以去试试

    问题留言请点这里→

    Comments (15)

    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

    Nov. 4
    Sept. 20
    No namewrote:

    Hi,Do you need screen advertisings, digital sign, digital signages and LCDs? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.

    amberdigital Contact Us

    E-mail:sstar@netvigator.com
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[cdbb

    Aug. 31
    Aug. 23
    Aug. 1
    color lazywrote:
    弄好啦!很棒的说!有些小瑕疵,慢慢修改吧~~hoho!谢谢!
    July 22
    对于我们刚进入这里的人来说,是个即大的帮助```
                    希望以后能有更多的东西让我们分享·
    Dec. 22
    崇拜,好强悍
     
    Dec. 6
    Kaya 萱wrote:
    我是有按照樓主的説法做出來了....可是找mp3的網址就出了好大問題
    找到的都說連接失效,放不出來...
    我要找的是Kinki Kids的日文歌,想問樓主有什麽建議嗎?
    Dec. 4
    释然wrote:
    唉,可惜我选择了ipod播放器,不是你这个,用不来哦。 
    Aug. 19
    释然wrote:
     真是好棒啊!
    Aug. 19
    winniewrote:
    解释的好清楚哦,我想问一下,我用flash slideshow builder 做了一个类似相簿的flash,要怎样添加近msnspace呢?麻烦了 
    July 29
    Ada Yuwrote:
    弄好了```
    謝謝`
    你真是大好人`
    July 14
    磊 金wrote:
    教程写的真够的详细呀!初学者也能一目了然啊!赞一个~~
    May 4
    annawrote:
    谢谢viking大哥传授的高招!
    May 3

    Trackbacks

    The trackback URL for this entry is:
    http://zhangminghua.spaces.live.com/blog/cns!804FDB899DC91FC5!2729.trak
    Weblogs that reference this entry
    • None