从本地播放mp3(Flash/Flex) [英] Playing mp3 from local (flash/flex)
本文介绍了从本地播放mp3(Flash/Flex)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用flex开发Web应用程序.应用程序将具有mp3播放器.当我在网站上上传一些mp3文件并在代码中写入正确的网址(例如"songs/song1.mp3")时,便可以播放歌曲.但是,我的目的是从本地播放mp3文件.我怎样才能做到这一点?如何写和播放本地路径名? (基本上,使"C:/song1.mp3"不起作用).
Hi,
I am trying to develop a web application with flex. Application will have an mp3 player. When I upload some mp3 files on my website and write the proper url in the code(e.g. "songs/song1.mp3"), the songs can be played. However, my aim is to play the mp3 files from local. How can I achieve this ? How can I write a local path name and play it? (basically, giving "C:/song1.mp3" not working)
推荐答案
最佳答案是允许用户将其保存在他/她的硬盘中.那就是可能的方式....
祝你有美好的一天...
Best Answer is Allow user to save that in his/her hard drive. that''s the way it is possible....
Have a nice day...
这篇关于从本地播放mp3(Flash/Flex)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文