Skip to content

launch.json fields for SWF debugging

Josh Tynjala edited this page Apr 18, 2018 · 29 revisions

"profile"

The Adobe AIR application profile to simulate.

{
	"type": "swf",
	"request": "launch",
	"name": "Launch SWF",
	"profile": "mobileDevice"
}

The following profile values are supported:

  • "desktop"
  • "extendedDesktop"
  • "mobileDevice"

"screenDPI"

The screen density (sometimes called DPI or PPI) of the mobile device to simulate. Customizes the value returned by flash.system.Capabilities.screenDPI. Typically used in combination with screensize.

{
	"type": "swf",
	"request": "launch",
	"name": "Launch SWF",
	"screenDPI": 326
}

"screensize"

The normal and full-screen dimensions of the simulated mobile device. Typically used in combination with screenDPI.

{
	"type": "swf",
	"request": "launch",
	"name": "Launch SWF",
	"screensize": "480x762:480x800"
}

A number of special screensize values are available, like "iPhone", "iPhoneRetina", and "iPad". See Building Adobe AIR Applications: AIR Debug Launcher (ADL) for a complete list.

"versionPlatform"

The platform to simulate in the AIR Debug Launcher. Customizes the value returned by flash.system.Capabilities.version.

{
	"type": "swf",
	"request": "launch",
	"name": "Launch SWF",
	"versionPlatform": "IOS"
}

The following versionPlatform values are supported:

  • "IOS"
  • "AND"
  • "WIN"
  • "MAC"

Further Reading

Clone this wiki locally