AFLAX: A JavaScript Library for Macromedia’s Flashâ„¢ Platform
一个opensource的项目,�需�Flash IDE,直接用javascript通过Flash8新增的ExternalInterface在页�上开�flash应用。
Download library | Download sample media files | online API documentation
这里是一些demo(需� FlashPlayer 8 支�):
AFLAX allows developers to use most of the Flash 8 platform, including drawing commands, filters,video, and much more. Here are some simple demos, and I’ll be adding more each week.Note that there are no hidden tricks here–the demos are using nothing but JavaScript, a small Flash “bootstrap” file, and a few graphic resources (depending on the demo being shown):
General demos:
Drawing demos:
- Drawing Gradients Demo
- Drawing Demo w/Rotation
- Animated Chart with Tooltips
- Animated Spirograph w/Controls
- Kaleidoscope Graphics
Image Processing demos:
(Note: Some of these demos are CPU intensive as they perform real-time effects.)
- Arrow with Motion Blur
- Ball with Motion Blur
- Text on Fire
- Glass Effect Demo
- Perlin Wood Texture
Audio demo:
Video demos:
关于ExternalInterface具体��考Flash8的帮助文档或MM的livedocs
ExternalInterface 类也被称为 外部 API,是一个新的å?系统,通过它å?¯ä»¥åœ¨ ActionScript å’Œ Flash Player 容器与具有 JavaScript çš„ HTML 页或嵌入 Flash Player 的桌é?¢åº”用程åº?之间轻æ?¾è¿›è¡Œé€šä¿¡ã€‚