import flash.display.*;import flash.net.URLRequest;var rect:Shape = new Shape();rect.graphics.beginFill(0xFFFFFF);rect.graphics.drawRect(0, 0, 100, 100);addChild(rect);var ldr:Loader = new Loader();ldr.mask = rect;var url:String = "http://www.unknown.example.com/content.swf";var urlReq:URLRequest = new URLRequest(url);ldr.load(urlReq);addChild(ldr);
Tags: cs3, flash, swf
MPlayer是Linux 上的电影播放器(也能跑在许多其它Unices上,甚至非x86CPU上).他的win32版本一样强劲. 它能使用众多的本地的XAnim,RealPlayer和Win32 DLL编解码器播放大多数MPEG,VOB,AVI,OGG,VIVO,ASF/WMV,QT/MOV,FLI,RM,NuppelVideo,yuv4mpeg,FILM,RoQ文件.你还能观看VideoCD,SVCD,DVD,3ivx,RealMedia和DivX格式的电影(你根本不需要avifile库).
mplayer的另一个大的特色是广泛的输出设备支持。它可以在X11,Xv,DGA, OpenGL,SVGAlib,fbdev,AAlib,DirectFB下工作,而且你也能使用GGI和SDL(由此可以使用他们支持的各种驱动模式) 和一些低级的硬件相关的驱动模式(比如Matrox,3Dfx和Radeon,Mach64,Permedia3)!他们大多数支持软件或者硬件缩放,因此你能在全屏下观赏电影。MPlayer还支持通过硬件MPEG解码卡显示,诸如DVB 和DXR3与Hollywood+。可以使用European/ISO 8859-1,2(匈牙利语,英语,捷克语等等),西里尔语,韩语的字体的清晰放大并且反锯齿的字幕(支持10种格式),和on screen display(OSD)你又觉得如何?
这个播放器能够稳如泰山的播放被破坏的MPEG文件(对一些VCD有用),而它能播放著名的windows media player 都打不开的的坏的AVI文件。甚至,没有索引部分的AVI文件可播放,你能暂时由重建他们的索引-idx选择,或者用MEncoder永久重建,使你能够在影片中搜索!如你所见,稳定和质量是最重要的事情,而且他的速度是也惊人的。
MPlayer 1.0rc1: "Codename intentionally left blank"
DOCS:
- German documentation translation finished
- Russian documentation translation synced and almost finished
Drivers:
- IVTV hardware MPEG audio/video decoder output
- ALSA audio output: AC3 passthrough now works even when the device name of the digital output port has been set by the user
- bicubic OpenGL scaling works with ATI cards
- md5sum switched to the libavutil MD5 implementation
- support for libcaca 1.0 via compatibility layer
Decoders:
- liba52 updated to 0.7.4 (slightly faster)
- SSE optimizations for mp3lib
- removed support for obsolete and non-free divx4 libraries
Demuxers:
- audio stream switching in MPEG-TS/PS, Matroska and streams supported by libavformat
- audio stream switching between streams with different codecs
- libavformat demuxer now honors -alang
- chapter seeking in Matroska files
- fixed seeking to absolute and percent position for libavformat demuxer
- NUT demuxer using libnut
- Matroska SimpleBlock support
Inputs:
- split of stream layer from libmpdemux to new stream library
- PVR input for hardware MPEG encoder based cards, such as Hauppauge WinTV PVR-150/250/350/500 AKA IVTV but also pvrusb2 and cx88 (requires Linux >= 2.6.18 kernel, featuring native V4L2 MPEG API)
- native RTSP input (handles MPEG-TS over RTP) for generic RTSP servers
- support for seeking to chapters in dvd:// and dvdnav:// streams
- radio support (radio://)
FFmpeg/libavcodec:
- VC-1/WMV3/WMV9 video decoder
- Vorbis decoding speedup, now default Vorbis decoder
- VMware Video decoder
- On2 VP50 and VP62 decoder
- lossless audio decoders: WavPack, TTA, Shorten
- CAVS decoder
- GXF muxer/demuxer
- MXF demuxer
- much improved FLAC encoder
- more H.264 decoding speed improvements, plus support for -lavdopts fast
- Theora decoder fixes
- preliminary Vorbis encoder
- MTV demuxer
GUI:
- Windows version added
- drag-and-drop ignored last file
- save and load cache setting correctly
- working audio stream selection for Ogg and Matroska files
- executable names like gmplayer_old etc. will now start GUI as well
- -gui/-nogui options
- xinerama fixes, now behaves similar to MPlayer without GUI
Filters:
- MMX-optimizations for -vf yadif
- MMX-optimizations for -vf zrmjpeg
MEncoder:
- support of x264 encoding via libavcodec
- rewrite -x264encopts option parser to use the 264 option parser; likely breaks 3rd party tools as the syntax of some options has changed
- removed support for obsolete and non-free divx4 libraries
Ports:
- partial Intel Mac support, –disable-loader –disable-mp3lib is needed
- OpenGL can now create windows > screen size under Windows
- allow filenames starting with for remote paths on Windows
Others:
- SSA/ASS subtitle renderer
- -endpos option for MPlayer
- -correct-pts option
- UTF-8 used for OSD and subtitles, some bitmap fonts will no longer work correctly and -subcp must be set for all non-UTF-8 subtitles
- more audio-truncation fixes
- libavutil mandatory for MPlayer compilation
- more intuitive -edlout behaviour
- -nortc is now default since -rtc has disadvantages with recent kernels
下载:
MPlayer 1.0rc1 can be downloaded from the following locations. Please be kind to our server and use one of our many mirrors.
MPlayer 1.0rc1 is also available on BitTorrent.
MD5SUM: 18c05d88e22c3b815a43ca8d7152ccdc
SHA1SUM: a450c0b0749c343a8496ba7810363c9d46dfa73c
访问:官方网站详细更新说明
下载:MPlayer 1.0rc1 Windows GUI
Tags: cache, html, linux, ror, server, unix, windows
http://kyle.jolin.info/tt/rserver.php?mode=tb&sl=399
一直在做页面里一个 flash 和 js通信,还没有试过多个的,偶然看到这篇文章就自己收藏一下,以后用得到时就不用再找了。
Tags: flash, php, server
Penguin.SWF网站最新消息,Adobe的FlashPlayer linux团队打算在2007年发布最终版本的Flash Player 9 for Linux前,先发布一个Flash 9 for Linux Beta版,以便寻找出更多的BUG,发布更加完美的Linux版FlashPlayer 9,该消息还特别解释了为什么Adobe没有应大家要求先发布一个alpha版,这是因为当前的linux版FlashPlayer 9还有一些已知的bug没有修复,而如果未修复前发布alpha版,那么FlashPlayer9 linux团队就会重复接到大量的这些已知bug的报告,而花大量的时间处理这些重复的报告对于FlashPlayer9 Linux团队的工作是很不利的,所以才没有发布alpha版本。消息的最后,还特别强调Beta版本就要来了,大家请密切关注这个网站。
Tags: blog, flash, html, linux
http://blog.andre-michelle.com/2006/announcing-new-physics-engine-in-as3/
自己做个记录 AS3 做的,并且提供源代码。
:)
Tags: blog