Skip to content

Maybe we did ridiculously and pointlessly reinvented MacroMedia Flash with React JS so you'll never have to. You're welcome

License

Notifications You must be signed in to change notification settings

javascript-pro/flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A modular animation cartridge by Goldlabel built with React, GSAP, and TypeScript.

🚀 Quick Start

git clone https://github.com/javascript-pro/flash.git
cd flash
npm install
npm start

✨ What is this repo?

A standalone, open-source playground for creating movies — small animations written in TypeScript (we call them actionscript files). Each movie can target one or many movieclips (reusable React components) and bring them to life using GSAP.

Think of it as a lightweight, modern take on the Flash timeline:

  • 🎥 Movies — standalone .as files with step-by-step animation logic.
  • 🎭 Movieclips — reusable visual React components (characters, logos, debug tools).
  • 🖼️ Stage — the render surface where everything plays.
  • 🎚️ Toolbar — media-style controls (play, pause, loop).
  • 🪄 Trace — a debugging movieclip that pops live info (stage size, framerate, store flags).
  • 📦 Cartridge — fully modular, drop into any Goldlabel project.

🧩 Future Features

  • Physics-based behaviours like floorDropBounce and ceilingDropBounce.
  • Infinite scrolling (scrollLeftRight) with wrapping.
  • Configurable movies with props (speed, color, loop).
  • Redux-backed store for flags, playback state, and debug data.
  • Plug-and-play movieclips and quick demo examples.
"themes": {
    "dark": {
      "mode": "dark",
      "primary": "#2f69a8",
      "secondary": "#3a393b",
      "border": "#000",
      "background": "#001321",
      "paper": "#052841",
      "text": "#FFFFFF"
    },
    "light": {
      "mode": "light",
      "primary": "#3069a9",
      "secondary": "#C4DBE0",
      "border": "#ccc",
      "background": "#FFF",
      "paper": "#FAFDFD",
      "text": "#000"
    }
  }

More Colours

#60A5FA
#93C5FD
#001321
#000000

About

Maybe we did ridiculously and pointlessly reinvented MacroMedia Flash with React JS so you'll never have to. You're welcome

Topics

Resources

License

Stars

Watchers

Forks