ActionScript 3 SWF metadata tag
Using MXMLC (the MXML and ActionScript 3 stand alone, command line compiler provided with the free Flex 3 SDK) to compile your ActionScript 3 SWFs, you can use the SWF metadata tag to set common properties in the main document class for the application. The SWF metadata tag supports 4 properties
- width
- height
- frameRate
- backgroundColor
package {
[SWF(width="800", height="600", frameRate="60", backgroundColor="#FFFFFF")]
public class Main extends Sprite {
}
}
About this entry
You’re currently reading “ActionScript 3 SWF metadata tag,” an entry on Bauhouse
- Published:
- January 16, 2009 / 1:28 pm
- Category:
- ActionScript
- Tags:
1 Comment
Jump to comment form | comment rss [?] | trackback uri [?]