日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

簡潔風格的AS3 音頻,視頻播放器 Simple AS3 Vid

系統 2573 0

Simple AS3 Video/Audio Media Player

A video/audio player with simple style skin but full function you can find for a video/audio player, which could be used either as a standalone video/audio player, or to be integrated into your original project.

簡潔風格的AS3 音頻,視頻播放器 Simple AS3 Video/Audio Media Player

Key Features
1. XML Driven, Dynamic Refresh with xml supported.
2. Smooth played time seek for video/audio player (an improvement of the NetSteam.time, which is unstable), buffered status included.
3. Draggable for the loaded part.
4. Loop, Autoplay on/off.
5. Play, Pause, FullScreen(for video player) and Sound Control.
6. Multiple video/audio support, pre/next video/audio function.
7. Information text field, with html and scrollbar support, autohide.
8. The background color of the player control could be customized.
9. Carefully treat on memory recycle and performance.
10. Builded with AS3 , both support flash cs3+ and flex builder 3+ (pure actionscript project).
11. Well organized UI resources in fla, good formatted/commented code and documents, easily to be modified for new requirements.

XML Node Explanation

    <!--the video node sample-->
    

<unit>

<!--the media link-->

<media_res>videos/video_1.flv</media_res>

<!--the media title-->

<title><![CDATA[The Video/Audio Title]]> </title>

<!--the media information-->

<information>

<![CDATA[Html Formatted Support]]> </information>

<!--the jump link for the title field-->

<link />http://www.activeden.net

<!--optional arguments-->

<!--the video width&height limit-->

<width>600</width>

<height>450</height>

<!--0:not auto play,1:auto play,default:1-->

<autoplay>0</autoplay>

<!--0:not loop,1:loop,default:0-->

<loop>0</loop>

<!--the bgcolor for the player tool bar bg,default: 0xe6e6e6-->

<bgcolor>0x999999</bgcolor>

</unit>



<!--the audio node sample-->

<unit>

<!--the media link-->

<media_res>audios/audio_1.mp3</media_res>

<!--the media title-->

<title><![CDATA[The Video/Audio Title]]> </title>

<!--the media information-->

<![CDATA[ Html Formatted Support]]>

<!--the jump link for the title field-->

<link />http://www.activeden.net

<!--the face image/swf for the audio player-->

<faceimage>swfs/swf_1.swf</faceimage>

<!--optional arguments-->

<!--the audio face image width&height limit-->

<width>450</width>

<height>350</height>

<!--0:not auto play,1:auto play,default:1-->

<autoplay>0</autoplay>

<!--0:not loop,1:loop,default:0-->

<loop>0</loop>

<!--the bgcolor for the player tool bar bg,default: 0xe6e6e6-->

<bgcolor>0xa6c8e2</bgcolor>

</unit>

Easy Use Sample
Sample Code 1

    //the stage’s align and scalemode setting
    

stage.align = StageAlign.TOP_LEFT;

stage.scaleMode = StageScaleMode.NO_SCALE;



//do the init

var simpleAS3MediaPlayer:SimpleMediaPlayer = new SimpleMediaPlayer();

simpleAS3MediaPlayer.init("xmls/config1.xml");

addChild(simpleAS3MediaPlayer);

Sample Code 2: (Refresh Mode)

    //the first init
    

simpleAS3MediaPlayer.init(some_xml_address);



//….sometimes later

simpleAS3MediaPlayer.dispose(); //dispose before re-init

simpleAS3MediaPlayer.init(some_xml_address);



Check the item at here:

http://activeden.net/item/simple-as3-videoaudio-media-player/129942




簡潔風格的AS3 音頻,視頻播放器 Simple AS3 Video/Audio Media Player


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 抚顺县| 阿拉善左旗| 类乌齐县| 永胜县| 翁源县| 水富县| 新郑市| 区。| 勐海县| 安义县| 密山市| 滨海县| 社会| 宝丰县| 云霄县| 巴彦县| 梧州市| 翁牛特旗| 肇庆市| 迁西县| 江门市| 湘潭县| 轮台县| 嘉荫县| 蒙阴县| 兴安县| 彰化县| 法库县| 哈尔滨市| 林州市| 来安县| 大余县| 邹城市| 孟州市| 泰来县| 广东省| 新余市| 襄垣县| 剑川县| 滨州市| 湄潭县|