在 FDT3 中不能使用[Embed]元数据标签很是不爽 特别是最近在学习PV3D更感觉不舒服,PV3D官方提供的教程文档中很多贴图都是通过这个标签实现加载BitmapData数据的。于是就写了个下面的类:
Continue reading ‘FDT3 中使用PV3D 贴图 有感’ »
Archive for 十二月, 2008
AS3 Metadata Tags
In AS3, metadata tags play a much more important role than they did in AS2. Here are some of the biggies along with samples of their usage.
SWF(FDT3 中可用)
ActionScript:
-
[SWF(backgroundColor="#FFFFFF", frameRate="31", width="550", height="400")]
You can use the SWF tag after your imports, but before your class definition. These settings will override any MXML compiler options, however if you compile from the Flash IDE, these settings will be overriden by the settings in the properties panel. The advantage of using this tag is that your settings stay independent of your build files.
Continue reading ‘AS3 Metadata Tags (转)’ »
天地会