{"id":13745154,"url":"https://github.com/davestewart/flash-core","last_synced_at":"2026-01-05T16:03:17.173Z","repository":{"id":141850182,"uuid":"43750624","full_name":"davestewart/flash-core","owner":"davestewart","description":"A robust set of base ActionScript 3.0 classes developed out of commercial projects","archived":false,"fork":false,"pushed_at":"2015-10-24T21:54:30.000Z","size":576,"stargazers_count":2,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T22:52:50.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davestewart.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-06T12:57:05.000Z","updated_at":"2023-01-29T21:23:28.000Z","dependencies_parsed_at":"2023-03-13T14:21:35.790Z","dependency_job_id":null,"html_url":"https://github.com/davestewart/flash-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Fflash-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Fflash-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Fflash-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Fflash-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davestewart","download_url":"https://codeload.github.com/davestewart/flash-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040697,"owners_count":20551308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:23.606Z","updated_at":"2026-01-05T16:03:12.143Z","avatar_url":"https://github.com/davestewart.png","language":"ActionScript","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"readme":"# Flash Core\n\n![flash-core](https://cloud.githubusercontent.com/assets/132681/10712951/d449d23e-7aa1-11e5-9412-f6149c9fece9.png)\n\n## Overview\n\nFlash Core is a growing collection of ActionScript classes I use in every project.\n\nThe classes have been built and added to over the years, all in commercial projects, as generic solutions to specific problems.\n\nThey can be used as-is in much of your code, but are all thoughtfully designed to be built upon in whatever application you're building.\n  \nSome examples of classes in Flash Core are:\n\n - Containers, such as HBox, VBox, Stack, Slider, Viewport\n - Display classes, such as Preloader, ProgressBar, Waveform, Square, Circle\n - Media classes, such as Video, Audio, Image, LocalImage\n - Net classes, such as RestClient, PHPVariables\n - Data classes, such as Cookie, Validator, Settings, ObjectModel, XMLModel\n - Event classes, such as MediaEvent, ActionEvent, ValueEvent\n - Managers, such as ScrollManager, BaseBootstrap, TaskQueue\n - Tools, such as Draggable, Identifier, PixelMonitor, Marquee\n - Utilities, such as Colors, Elements, Layout, Strings, Styles\n\nTo see the live projects this library developed out of, check out my Flash work at:\n\n - [davestewart.co.uk/flash/](http://davestewart.co.uk/flash/)\n\n## Usage\n\nFlash Core is designed to sit within your `src` folder, in a locally-namespaced setup.\n\nTypical project setup is as follows:\n\n```javascript\n\n+- project\n\t+- assets\n\t+- bin\n\t+- lib               // fully-qualified libraries\n\t+- src               \n\t    +- app           // application-specific code\n\t    +- core          // this library\n\t    +- dev           // development test code\n\t    +- Main.as\n```\n\nThis results in 3 top-level namespaces for your project, siloing your development and intentions:\n\n - app\n - core\n - dev\n\nA typical class in a project using Flash Core might be set out like so:\n\n```actionscript\npackage dev.media \n{\n\timport flash.display.DisplayObjectContainer;\n\timport flash.events.MouseEvent;\n\timport flash.utils.setTimeout;\n\t\n\timport core.display.containers.boxes.HBox;\n\timport core.display.containers.boxes.VBox;\n\timport core.display.Document;\n\t\n\timport app.media.VideoPlayer;\n\t\n\timport dev.components.ui.Button;\n\t\n\tpublic class AppPlayerTest extends Document \n\t{\n\t\t...\n```\n\nAs you can see the introduction of top-level (non TLD-based) namespaces makes it much easier to grok a class' dependencies and role.\n\n## Installation\n\nYou can install Flash Core either as a Git sub-module, or just download and unzip the files.\n\nNote that the library's files **must** reside in a folder called `core` for the namespacing to work. \n\n### To install using Git sub-modules\n\n1. Decide where you want to install the library (for example `src/core`)\n2. Open a console window in the **Git root** of the project (otherwise the following command will fail)\n3. Run the following code `git submodule add https://github.com/davestewart/flash-core.git src/core` (you'll need to change `src/` if your path is different)\n\n\n### To install manually\n\n1. Click \"Download ZIP\" in the top right of this page\n2. Unzip to a project source folder (for example `src/core`) \n\n\n### IDE setup\n\nEnsure one of your IDE's class paths point to the folder containing the `core` folder.\n\nIf you follow the project setup suggestion above, this will be `src`, but could just as well be `lib`.\n\n\n\n## Examples\n \nFor examples of Flash Core in action, see the [Flash Core Demo](https://github.com/davestewart/flash-core-demo) repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavestewart%2Fflash-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavestewart%2Fflash-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavestewart%2Fflash-core/lists"}