{"id":13744088,"url":"https://github.com/flupie/textanim","last_synced_at":"2025-05-09T02:32:25.877Z","repository":{"id":217211333,"uuid":"1564892","full_name":"flupie/textanim","owner":"flupie","description":"The TextAnim is an open source code for dynamic text animation in Flash - ActionScript 3","archived":false,"fork":false,"pushed_at":"2011-04-04T00:27:53.000Z","size":1245,"stargazers_count":17,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T15:41:59.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://flupie.net/blog/","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/flupie.png","metadata":{"files":{"readme":"README.mdown","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-04-04T00:19:30.000Z","updated_at":"2021-03-10T03:49:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"94bcb351-5b37-492a-979f-b07f30ec6177","html_url":"https://github.com/flupie/textanim","commit_stats":null,"previous_names":["flupie/textanim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flupie%2Ftextanim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flupie%2Ftextanim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flupie%2Ftextanim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flupie%2Ftextanim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flupie","download_url":"https://codeload.github.com/flupie/textanim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177800,"owners_count":21866402,"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:02.903Z","updated_at":"2025-05-09T02:32:25.532Z","avatar_url":"https://github.com/flupie.png","language":"ActionScript","readme":"TEXTANIM AS3\n============\n\nThe TextAnim is an open source code for dynamic text animation in Flash - ActionScript 3, it's events based and tween engine independent.\n\nHow does it work?\n-----------------\nThe library has no ready-made animation, the idea is only break apart the TextField (split TextField) and dispatch blocks sequence, to be free to make the animation you want. Doesn't matter which tween engine that you like: Tweener, BTween, GTween, Tweensy or any other.\n\nJust don't forget to embed the font that you want to use.\n\nExample 1:\n----------\n\n\t\timport flupie.textanim.*;\n\t\timport caurina.transitions.*;\n\n\t\tvar myTextAnim:TextAnim = new TextAnim(myTextField);\n\t\tmyTextAnim.effects = myEffect;\n\t\tmyTextAnim.blocksVisible = false;\n\t\tmyTextAnim.start();\n\n\t\tfunction myEffect(block:TextAnimBlock):void\n\t\t{\n\t\t    block.alpha = 0;\n\t\t    Tweener.addTween(block, {alpha:1, time:.5});\n\t\t}\n\t\t\nExample 2:\n----------\n\n\t\tTextAnim.create(myTextField, {effects:myEffect, split:TextAnimSplit.WORDS}).start();\n\t\t\nExample 3:\n----------\n\n\t\tvar myTextAnim:TextAnim = new TextAnim(myTextField);\n\t\tmyTextAnim.effects = myEffect;\n\t\tmyTextAnim.mode = TextAnimMode.LAST_FIRST;\n\n\t\tmyTextAnim.addEventListener(TextAnimEvent.START, onStartHandler);\n\t\tmyTextAnim.start();\n\t\t\nsplit\n-----\nTo specify how the TextAnim will break the text. TextAnimSplit:\n\n* CHARS\n* WORDS\n* LINES\n\nmode\n---- \nIs the way of the effects dispatches will be occurs. TextAnim dispatch effects in five diferent ways. TextAnimMode:\n\n* FIRST_LAST\n* LAST_FIRST\n* EDGES_CENTER\n* CENTER_EDGES\n* RANDOM\n\nTools\n-----\nExtra tools for special treatment of TextAnim instance. Can convert the blocks to bitmap, apply patterns, etc. Are static functions to implement some useful things. Get more here TextAnimTools.\n\n* getColorBounds\n* setGradientLinear\n* setPattern\n* showAnchors\n* toBitmap\n* toVector\n\nMore\n----\nYou can download the latest stable version of TextAnim, check out [Flupie blog](http://flupie.net/blog) to get a few examples with source, read the [documentation](http://flupie.net/textanim/docs) or get TextAnim code generator, called [TextAnim Maker](http://flupie.net/textanim/maker).\n\nAll examples was made with the IDE Flash CS4, but everything has been properly tested in other environments, Flex, Flash Builder, mxmlc command line, FDT.","funding_links":[],"categories":["Frameworks"],"sub_categories":["Animation Framework"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflupie%2Ftextanim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflupie%2Ftextanim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflupie%2Ftextanim/lists"}