Skip to content

Commit

Permalink
Merge pull request #279 from MonkeyHorde/master
Browse files Browse the repository at this point in the history
Added Flash target screen settings
  • Loading branch information
aduros committed Jan 2, 2015
2 parents a761886 + a003f9b commit fc2ce24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ exports.build = function (config, platforms, opts) {

var swfFlags = function (air) {
// Flags common to all swf-based targets (flash, android, ios)
var flags = ["--flash-strict", "-swf-header", "640:480:60:000000"];
var flags = ["--flash-strict", "-swf-header", get(config, "width", "640")+":"+get(config, "height", "480")+":"+get(config, "framerate", "60")+":000000"];
if (debug) flags.push("-D", "fdb", "-D", "advanced-telemetry");
else flags.push("-D", "native_trace");

Expand Down

0 comments on commit fc2ce24

Please sign in to comment.