{
 "osa": "0.1",
 "title": "Rocket launch",
 "description": "A small rocket waits on a launch pad under twinkling stars. When you choose Launch, it lifts off and climbs out of sight.",
 "lang": "en",
 "width": 640,
 "height": 360,
 "fps": 24,
 "background": "#0b1430",
 "poster": "idle",
 "root": "main",
 "library": {
  "starfield": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "ellipse": [
      339,
      250,
      1.2,
      1.2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      162,
      109,
      1.6,
      1.6
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      57,
      26,
      1,
      1
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      556,
      32,
      2,
      2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      382,
      157,
      1.4,
      1.4
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      67,
      240,
      1.2,
      1.2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      527,
      62,
      1.6,
      1.6
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      46,
      30,
      1,
      1
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      452,
      115,
      2,
      2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      79,
      69,
      1.4,
      1.4
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      100,
      149,
      1.2,
      1.2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      442,
      23,
      1.6,
      1.6
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      587,
      39,
      1,
      1
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      236,
      169,
      2,
      2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      604,
      250,
      1.4,
      1.4
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      71,
      155,
      1.2,
      1.2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      607,
      109,
      1.6,
      1.6
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      58,
      64,
      1,
      1
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      55,
      150,
      2,
      2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      144,
      82,
      1.4,
      1.4
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      437,
      44,
      1.2,
      1.2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      561,
      38,
      1.6,
      1.6
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      592,
      86,
      1,
      1
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      581,
      216,
      2,
      2
     ],
     "fill": "#ffffff"
    },
    {
     "ellipse": [
      193,
      34,
      1.4,
      1.4
     ],
     "fill": "#ffffff"
    }
   ]
  },
  "stars": {
   "type": "movieclip",
   "frames": 48,
   "layers": [
    {
     "name": "twinkle",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "starfield",
       "alpha": 0.45,
       "tween": {
        "ease": "easeInOut"
       }
      },
      {
       "frame": 24,
       "symbol": "starfield",
       "alpha": 1,
       "tween": {
        "ease": "easeInOut"
       }
      },
      {
       "frame": 47,
       "symbol": "starfield",
       "alpha": 0.45
      }
     ]
    }
   ]
  },
  "ground": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "rect": [
      0,
      300,
      640,
      60
     ],
     "fill": "#1d2b1f"
    },
    {
     "rect": [
      262,
      288,
      116,
      14
     ],
     "r": 3,
     "fill": "#5a6372"
    }
   ]
  },
  "tower": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "rect": [
      372,
      150,
      10,
      140
     ],
     "fill": "#8a93a3"
    },
    {
     "path": "M372 170 L350 170 M372 210 L350 210 M372 250 L350 250",
     "stroke": "#8a93a3",
     "strokeWidth": 4
    }
   ]
  },
  "rocketBody": {
   "type": "shape",
   "alt": "A white rocket with a red nose and red fins",
   "items": [
    {
     "rect": [
      -14,
      -90,
      28,
      80
     ],
     "r": 4,
     "fill": "#f4f4f4"
    },
    {
     "path": "M-14 -90 Q0 -132 14 -90 Z",
     "fill": "#e4572e"
    },
    {
     "path": "M-14 -34 L-32 -2 L-14 -12 Z",
     "fill": "#e4572e"
    },
    {
     "path": "M14 -34 L32 -2 L14 -12 Z",
     "fill": "#e4572e"
    },
    {
     "ellipse": [
      0,
      -62,
      7,
      7
     ],
     "fill": "#3d7dd8",
     "stroke": "#ffffff",
     "strokeWidth": 2
    },
    {
     "rect": [
      -9,
      -10,
      18,
      10
     ],
     "fill": "#555b66"
    }
   ]
  },
  "flameShape": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "path": "M-9 0 Q0 48 9 0 Z",
     "fill": "#ffb000"
    },
    {
     "path": "M-5 0 Q0 26 5 0 Z",
     "fill": "#fff3b0"
    }
   ]
  },
  "flame": {
   "type": "movieclip",
   "frames": 6,
   "layers": [
    {
     "keyframes": [
      {
       "frame": 0,
       "symbol": "flameShape",
       "tween": {
        "ease": "easeInOut"
       }
      },
      {
       "frame": 3,
       "symbol": "flameShape",
       "scaleX": 0.9,
       "scaleY": 1.35,
       "tween": {
        "ease": "easeInOut"
       }
      },
      {
       "frame": 5,
       "symbol": "flameShape"
      }
     ]
    }
   ]
  },
  "rocketIdle": {
   "type": "graphic",
   "frames": 1,
   "layers": [
    {
     "keyframes": [
      {
       "frame": 0,
       "symbol": "rocketBody"
      }
     ]
    }
   ]
  },
  "rocketLit": {
   "type": "movieclip",
   "frames": 1,
   "layers": [
    {
     "name": "flame",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "flame"
      }
     ]
    },
    {
     "name": "body",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "rocketBody"
      }
     ]
    }
   ]
  },
  "titleText": {
   "type": "text",
   "text": "Ready on the pad",
   "size": 26,
   "fill": "#ffffff",
   "weight": 700
  },
  "subText": {
   "type": "text",
   "text": "Press Launch when you're ready.",
   "size": 16,
   "fill": "#c9d3e6"
  },
  "liftText": {
   "type": "text",
   "text": "Liftoff!",
   "size": 34,
   "fill": "#ffd166",
   "weight": 800
  },
  "doneText": {
   "type": "text",
   "text": "The rocket has cleared the sky.",
   "size": 16,
   "fill": "#c9d3e6"
  },
  "btnUp": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "rect": [
      0,
      0,
      132,
      46
     ],
     "r": 10,
     "fill": "#c2401c"
    }
   ]
  },
  "btnOver": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "rect": [
      0,
      0,
      132,
      46
     ],
     "r": 10,
     "fill": "#a8361a",
     "stroke": "#ffffff",
     "strokeWidth": 2
    }
   ]
  },
  "btnDown": {
   "type": "shape",
   "decorative": true,
   "items": [
    {
     "rect": [
      0,
      0,
      132,
      46
     ],
     "r": 10,
     "fill": "#8f2d14"
    }
   ]
  },
  "launchBtn": {
   "type": "button",
   "states": {
    "up": "btnUp",
    "over": "btnOver",
    "down": "btnDown"
   },
   "text": {
    "value": "Launch",
    "size": 18,
    "fill": "#ffffff"
   },
   "label": "Launch the rocket",
   "hit": [
    0,
    0,
    132,
    46
   ],
   "on": {
    "press": [
     {
      "do": "gotoAndPlay",
      "frame": "launch"
     }
    ]
   }
  },
  "againBtn": {
   "type": "button",
   "states": {
    "up": "btnUp",
    "over": "btnOver",
    "down": "btnDown"
   },
   "text": {
    "value": "Again",
    "size": 18,
    "fill": "#ffffff"
   },
   "label": "Launch again",
   "hit": [
    0,
    0,
    132,
    46
   ],
   "on": {
    "press": [
     {
      "do": "gotoAndPlay",
      "frame": "idle"
     }
    ]
   }
  },
  "main": {
   "type": "movieclip",
   "frames": 120,
   "labels": {
    "idle": {
     "frame": 0,
     "heading": "On the pad"
    },
    "launch": {
     "frame": 48,
     "heading": "Liftoff"
    }
   },
   "actions": {
    "47": [
     {
      "do": "gotoAndPlay",
      "frame": "idle"
     }
    ],
    "119": [
     {
      "do": "stop"
     },
     {
      "do": "announce",
      "text": "Flight complete."
     }
    ]
   },
   "layers": [
    {
     "name": "stars",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "stars"
      }
     ]
    },
    {
     "name": "ground",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "ground"
      }
     ]
    },
    {
     "name": "tower",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "tower"
      }
     ]
    },
    {
     "name": "rocket",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "rocketIdle",
       "x": 320,
       "y": 288
      },
      {
       "frame": 48,
       "symbol": "rocketLit",
       "x": 320,
       "y": 288,
       "tween": {
        "ease": "easeIn"
       }
      },
      {
       "frame": 110,
       "symbol": "rocketLit",
       "x": 320,
       "y": -150
      }
     ]
    },
    {
     "name": "title",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "titleText",
       "x": 32,
       "y": 56
      },
      {
       "frame": 48,
       "symbol": null
      }
     ]
    },
    {
     "name": "sub",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "subText",
       "x": 32,
       "y": 84
      },
      {
       "frame": 48,
       "symbol": null
      }
     ]
    },
    {
     "name": "liftoff",
     "keyframes": [
      {
       "frame": 0,
       "symbol": null
      },
      {
       "frame": 48,
       "symbol": "liftText",
       "x": 32,
       "y": 70,
       "alpha": 0,
       "tween": {
        "ease": "linear"
       }
      },
      {
       "frame": 60,
       "symbol": "liftText",
       "x": 32,
       "y": 70
      }
     ]
    },
    {
     "name": "done",
     "keyframes": [
      {
       "frame": 0,
       "symbol": null
      },
      {
       "frame": 96,
       "symbol": "doneText",
       "x": 32,
       "y": 102,
       "alpha": 0,
       "tween": {
        "ease": "linear"
       }
      },
      {
       "frame": 108,
       "symbol": "doneText",
       "x": 32,
       "y": 102
      }
     ]
    },
    {
     "name": "buttons",
     "keyframes": [
      {
       "frame": 0,
       "symbol": "launchBtn",
       "name": "launch",
       "x": 476,
       "y": 300
      },
      {
       "frame": 48,
       "symbol": null
      },
      {
       "frame": 96,
       "symbol": "againBtn",
       "name": "again",
       "x": 476,
       "y": 300
      }
     ]
    }
   ]
  }
 }
}