{"id":20538040,"url":"https://github.com/yoannmoinet/tiltshift_as3","last_synced_at":"2026-02-19T10:31:41.689Z","repository":{"id":80172252,"uuid":"1569128","full_name":"yoannmoinet/TiltShift_AS3","owner":"yoannmoinet","description":":camera: A simple class for tiltshifting a picture in Actionscript 3.","archived":false,"fork":false,"pushed_at":"2011-04-04T22:03:40.000Z","size":268,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-15T03:12:29.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/yoannmoinet.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":"2011-04-04T21:07:41.000Z","updated_at":"2015-11-22T22:31:39.000Z","dependencies_parsed_at":"2023-02-24T10:40:23.982Z","dependency_job_id":null,"html_url":"https://github.com/yoannmoinet/TiltShift_AS3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yoannmoinet/TiltShift_AS3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2FTiltShift_AS3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2FTiltShift_AS3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2FTiltShift_AS3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2FTiltShift_AS3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoannmoinet","download_url":"https://codeload.github.com/yoannmoinet/TiltShift_AS3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2FTiltShift_AS3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-16T00:43:57.886Z","updated_at":"2026-02-19T10:31:41.663Z","avatar_url":"https://github.com/yoannmoinet.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a simple class for doing some tiltshift on any picture.\nJust instantiate a new Tiltshift object with your arguments.\n\n#### Example ####\n\nYou can load any asset from your library\n\n\tvar image:Asset_image = new Asset_image(535, 302);\n\tvar myImage:Tiltshift = new Tiltshift(0.5,0.5,5,-40,\"asset\",image);\n\nor with an url\n\n\tvar myImage2:Tiltshift = new Tiltshift(0.5,0.5,5,-40,\"url\",'./assets/image.jpg');\n\n\n#### Constructor ####\n\n\n\tnew Tiltshift(size of focal,position of focal on the image, blur value, angle, image type(url or asset), asset or url);\n\n#### Fla file ####\n\nFor those who can't open the fla file because of CS5.\nHere is the code inside :\n\n\timport com.Tiltshift;\n\timport flash.display.MovieClip;\n\timport flash.events.Event;\n\n\tvar mc_content:MovieClip = new MovieClip();\n\tvar mc_content2:MovieClip = new MovieClip();\n\n\t//load new asset from library\n\tvar image:Asset_image = new Asset_image(535, 302);\n\n\t//new Tiltshift(size,position, blur, angle, image type, image/url);\n\tvar myImage:Tiltshift = new Tiltshift(0.5,0.5,5,-40,\"asset\",image);\n\n\t//or with an url\n\tvar myImage2:Tiltshift = new Tiltshift(0.5,0.5,5,-40,\"url\",'./assets/image.jpg');\n\t//it dispatches an event \"LOADED\" once it's loaded.\n\tmyImage2.addEventListener(\"LOADED\", f_init);\n\n\n\tfunction f_init(evt:Event):void\n\t{\n\t\tmc_content.y = 35;\n\t\tmc_content.addChild(myImage);\n\t\tmc_content2.addChild(myImage2);\n\t\tmc_content2.y = stage.stageHeight - mc_content2.height;\n\t\taddChild(mc_content);\n\t\taddChild(mc_content2);\n\t\ttrace(myImage2.height);\n\t}\n\nAfter pasting it on the first frame, importing an image in the library and export for actionscript with class name 'Asset_image'.\nTweaking stage size etcÉ run it.\nYou may also add folders 'com' and 'assets' to your root.\n\n#### Enjoy ! ####\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannmoinet%2Ftiltshift_as3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoannmoinet%2Ftiltshift_as3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannmoinet%2Ftiltshift_as3/lists"}