{"id":24557516,"url":"https://github.com/huang-x-h/swfloader","last_synced_at":"2026-02-05T20:04:44.812Z","repository":{"id":15207852,"uuid":"17936227","full_name":"huang-x-h/swfloader","owner":"huang-x-h","description":"swf加载器，用于在flex中加载swf文件。可用于组件模块化，加载然后反射得到相应类","archived":false,"fork":false,"pushed_at":"2014-11-30T13:51:47.000Z","size":2076,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T21:55:22.767Z","etag":null,"topics":["actionscript","flex","loader"],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huang-x-h.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-20T08:59:54.000Z","updated_at":"2021-12-13T11:23:39.000Z","dependencies_parsed_at":"2022-09-18T03:31:16.066Z","dependency_job_id":null,"html_url":"https://github.com/huang-x-h/swfloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/huang-x-h/swfloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-x-h%2Fswfloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-x-h%2Fswfloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-x-h%2Fswfloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-x-h%2Fswfloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huang-x-h","download_url":"https://codeload.github.com/huang-x-h/swfloader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-x-h%2Fswfloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29132562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actionscript","flex","loader"],"created_at":"2025-01-23T05:17:36.950Z","updated_at":"2026-02-05T20:04:44.776Z","avatar_url":"https://github.com/huang-x-h.png","language":"ActionScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#swfloader加载器\n\n用于在flex中缓存加载swf文件。\n\n可用于组件模块化加载。加载完成的组件，下次加载可直接从`SWFCache`中根据url获取相应内容，避免重复加载[查看示例](http://huang-x-h.github.io/swfloader)\n\n## 单个加载方式\n\n\tvar item:SWFItem = new SWFItem();\n\titem.url = \"module/MyButtonComp.swf\";\n\titem.completeHandler = function():void {\n\t\ttrace(\"load complete\");\n\t};\n\t\n\tSWFLoaderManager.load(item);\n\n## 多个加载方式\n\n传递swf字符串数组，内部实现去加载相应swf存放到缓存中：\n\n\tvar loader:SWFListLoader = new SWFListLoader([\"module/MyTextComp.swf\", \"module/MyLoginComp.swf\"], function():void {\n\t\ttrace(\"load complete\");\n\t});\n\t\n\tloader.load();\n\n## ChangeLog\n\n\t2014-11-30 \n\t\n\t- `SWFItem` 新增`content`属性，提供`get`/`set`方法\n\t- `SWFCache` 新增`get`方法用户获取`swf`内容，修改`complete`方法增加个参数\n\t","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuang-x-h%2Fswfloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuang-x-h%2Fswfloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuang-x-h%2Fswfloader/lists"}