Archive for October, 2009
Here is another idea (again generated from Lynda.com training). In this example, one draws a simple shape in Actionscript (and colors it). Examine the linked working example. The copy button allows one to place another copy of the shape on the stage (and rotate it a bit for an interesting effect). Click on the copy button multiple times to see the results. I hope to cover many of these sorts of examples in the CMWEB 25 class in the spring 2010 semester.
Geocities is being closed by Yahoo! today. Back in the day, this was one of the most visited portals on the Internet (I think it was in the top 5 in 1998 or 1999). I believe Yahoo! spent over $3 billion on it in 1999 (back then, that was real money *grin*). How times have changed.
I am indebted to the Lynda.com training videos for these ideas and help with the code. In this example (again based on a Lynda.com example), I took the Pixel Bender effect and applied it to a simple photo editor. You can now upload your own photo (keep it relatively small) and run the effect on your image. You can then save the image as a PNG file to your local hard drive. I have tested this a bit, but use it at your own risk. Examine the linked example and upload your photo to apply the waterfall effect. Hope this gives you some idea of the interesting things one can do in Flash. Yes, we will cover some of this in the CMWEB 225 Flash (and Actionscript) class in the Spring, 2010 semester. Yes, this was yet another shameless plug for that class.
Based on another Lynda.com video, I played a bit with bringing a Pixel Bender filter into Flash. This does require a link to the Flex SDK in order to work properly. The filter is brought in as a ByteArray. Examine the linked example and move your cursor over the image. Based on the “y” position of the cursor, the filter is applied. Hope this gives you some idea of the interesting things one can do in Flash. Yes, we will cover some of this in the CMWEB 225 Flash (and Actionscript) class in the Spring, 2010 semester.
I was inspired this morning (after viewing a Lynda.com video) to try and create my own Flash 3D photo cube. Just follow the link (it will open in a new browser window/ tab). My photos were taken in Montana this summer (most at Glacier National Park in July). The bison is from Yellowstone National Park (Wyoming, also in July). To change the orientation of the cube, simply move the location of your cursor. Hope you enjoy. Note that this was done with less than 25 lines of Actionscript code. Yes, there is a call to a class (due to the odd way 3D indexes are sorted in Flash). Enjoy.