{"id":93,"date":"2006-10-09T19:54:16","date_gmt":"2006-10-10T03:54:16","guid":{"rendered":"http:\/\/www.ericfeminella.com\/blog\/2006\/10\/09\/as3-custom-tween-api-v10\/"},"modified":"2012-03-04T23:30:21","modified_gmt":"2012-03-05T04:30:21","slug":"as3-custom-tween-api-v10","status":"publish","type":"post","link":"https:\/\/www.ericfeminella.com\/blog\/2006\/10\/09\/as3-custom-tween-api-v10\/","title":{"rendered":"AS3 Custom Tween API v0.9.3"},"content":{"rendered":"<p>After numerous requests I finally found the time to update my AS3 Custom Tween API to version 0.9.3.<\/p>\n<p>In case you are not familiar with the Tween API it is a simple API which enables any object on the display list to have a tween effect applied to a property of the object. You can view the the original Tween API post <a target=\"_blank\" href=\"https:\/\/www.ericfeminella.com\/blog\/2006\/09\/04\/as3-custom-tween-api\/\">here<\/a>.<\/p>\n<p>Version 0.9.3 has had the following additions implemented:<\/p>\n<div align=\"left\">\n<ol>\n<li>Tween Interval has been increased to 30fps as oppossed to the original 12fps. The original 12fps would run slow unless the framerate of the swf was increased.<\/li>\n<li>A callback function can now be passed in as an optional parameter. The callback function will be invoked once the tween effect has completed.<\/li>\n<li>An optional callback argument of arbitrary length can also be passed in as a parameter of the callback function.<\/li>\n<li>An additional Tween.stop(); method has been added which will allow a Tween instance to be stopped at anytime while the tween effect is executing.<\/li>\n<li>TweenTarget parameter&#8217;s type has been changed from DisplayObjectContainer to DisplayObject. Originally I had wrote the Tween API as a simple, application specific API that I thought other developers could use. I have now updated the API so that it is generic and can be applied to any object on the display list.<\/li>\n<\/ol>\n<p>Download <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/apis\/TweenAPI.zip\">source<\/a> and view <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/asdocs\/TweenAPI-asdoc\/class-summary.html\">ASDoc<\/a>.<\/p>\n<p>Keep in mind that this is an unstable beta release, that is, I have not thoroughly tested the API as of this release but it does however meet the requirements that I have been requested. Once testing is completed and all bug fixes are complete I will make one last major build before a final version 1.0 release. So if you happen to find any bugs please feel free to let me know.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>After numerous requests I finally found the time to update my AS3 Custom Tween API to version 0.9.3. In case you are not familiar with the Tween API it is a simple API which enables any object on the display list to have a tween effect applied to a property of the object. You can view the the original Tween&#8230; <a class=\"read-more\" href=\"https:\/\/www.ericfeminella.com\/blog\/2006\/10\/09\/as3-custom-tween-api-v10\/\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}