I have a flash application. The resolutions in the .fla file are 800 x 600. A friend of mine said I have to use the swf meta tag:
[SWF(width='800', height='600', backgroundColor='0x000000')]
It doesn’t do anything to me. I don’t understand why it is necessary. Please tell me why programmers put this command in their source code?
This depends on the IDE and authoring tools used to develop Flash based applications.
Flash Builder
For developers using Flash Builder or equivalent IDE without the Flash Professional art board and document properties for authoring, the SWF meta tag is required to define attributes of the SWF.
Flash Professional
Within Flash Professional, these are defined from the document properties.