{"id":456,"date":"2012-12-06T10:12:56","date_gmt":"2012-12-06T10:12:56","guid":{"rendered":"https:\/\/digitalmediacomputing.org.uk\/?p=456"},"modified":"2012-12-13T12:11:43","modified_gmt":"2012-12-13T12:11:43","slug":"flash-ah-ha","status":"publish","type":"post","link":"https:\/\/digitalmediacomputing.org.uk\/?p=456","title":{"rendered":"Flash! Ah-ha!"},"content":{"rendered":"<p>Today we started doing Flash animation! \u00a0We are going to learn the basics by making animated e-cards for our school web site.<\/p>\n<p>First though, today we learned how to bounce a ball.<\/p>\n<p>I showed how to create an oval (and how to hold down shift to create a circle). \u00a0We created keyframes along the timeline and moved the ball position at each keyframe. \u00a0We then added a classic tween to each section of the timeline. \u00a0When we pressed Ctrl-Enter it looked like the ball was bouncing round the screen.<\/p>\n<span id='swf-456-1'>Sorry, either Adobe flash is not installed or you do not have it enabled<\/span><script type=\"text\/javascript\">swfobject.embedSWF(\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/bouncing-ball-simple3.swf\", \"swf-456-1\", \"300\", \"218\", \"9.0.0\", \"\" , {}, {base:\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\"});<\/script>\n<p>We then tried to make the ball look a bit squished when it bounced. \u00a0We inserted a couple of extra keyframes at each bounce. \u00a0At each bounce there was a normal ball against the side, then a squished ball then a normal ball again before it went on it&#8217;s merry animated way.<\/p>\n<p><a href=\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/Ball-squishing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-486\" title=\"How to squish a ball in Flash\" src=\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/Ball-squishing.png\" alt=\"How to squish a ball in Flash\" width=\"573\" height=\"166\" srcset=\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/Ball-squishing.png 955w, https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/Ball-squishing-300x87.png 300w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/a><\/p>\n<span id='swf-456-2'>Sorry, either Adobe flash is not installed or you do not have it enabled<\/span><script type=\"text\/javascript\">swfobject.embedSWF(\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/bouncing-ball-simple-squished1.swf\", \"swf-456-2\", \"300\", \"218\", \"9.0.0\", \"\" , {}, {base:\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\"});<\/script>\n<p>If you&#8217;re feeling ambitious then why not have lots of balls flying around. \u00a0You could even have flying Christmas tree decorations!<\/p>\n<span id='swf-456-3'>Sorry, either Adobe flash is not installed or you do not have it enabled<\/span><script type=\"text\/javascript\">swfobject.embedSWF(\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\/more-xmas-trees.swf\", \"swf-456-3\", \"300\", \"218\", \"9.0.0\", \"\" , {}, {base:\"https:\/\/digitalmediacomputing.org.uk\/wp-content\/uploads\/2012\/12\"});<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Today we started doing Flash animation! \u00a0We are going to learn the basics by making animated e-cards for our school web site. First though, today we learned how to bounce a ball. I showed how to create an oval (and how to hold down shift to create a circle). \u00a0We created keyframes along the timeline [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,78,43,47,46],"tags":[],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-adobe-flash","category-animation","category-ms-farrells-blog","category-s3dmc","category-s5-6dmc"],"_links":{"self":[{"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":10,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":484,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/484"}],"wp:attachment":[{"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalmediacomputing.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}