Image Gallery - Part III - Categories
2 comments so farSo, a little more functionality to our Image Gallery project - I just wanted to add more functionality by allowing the user to toggle between different sets of Image Galleries. For this example you can toggle between 2 galleries by hitting ‘1′ or ‘2′ on your keyboard.
I made some slight modifications [...]
Image Gallery - Part II - The Large Image
No commentsSo, at this point we have the scrolling menu with our thumbnail images and now I have added an event listener so when the user clicks the thumbnail it will display the related larger image. Please note that at the moment I don’t have the large images for all the thumbnails, that is why a [...]
Image Gallery - Part I - The Scrolling Menu
1 comment so farSo for my image gallery project I wrote up some classes that will generate a scrolling menu and center the menu at the bottom of my page. I have made it so the menu will accept variable widths of images (I honestly haven’t tested this, but I am 98% confident it will work), but a [...]
Blur Animation with Scroll Method
No commentsIf you edit the Scroll method parameters you can easily change the horizontal and vertical direction of the blur from the image.
package
{
import flash.display.Sprite;
import flash.display.Loader;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.filters.BitmapFilter;
import flash.filters.BitmapFilterQuality;
import flash.filters.GlowFilter;
import flash.filters.BlurFilter;
import flash.geom.Point;
import flash.net.URLRequest;
import flash.events.Event;
public class BlurAnimation extends Sprite
{
private var sp:Sprite;
private var bmd:BitmapData = new [...]
BitmapData Noise
No commentsAdd some BitmapData noise to your Bitmap.
package
{
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.BitmapDataChannel;
public class BitmapDataNoise extends Sprite
{
var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight);
public function BitmapDataNoise()
{
var noiserate:int = int(Math.random() * int.MAX_VALUE);
bmd.noise(noiserate, 0, 0xFF, BitmapDataChannel.RED, false);
var bitmap:Bitmap = new Bitmap(bmd);
addChild(bitmap);
}
}
}
a2a_linkname=”BitmapData Noise”;
a2a_linkurl=”http://manewc.com/2008/05/19/bitmapdata-noise/”;
a2a_color_main=”D7E5ED”;a2a_color_border=”AECADB”;a2a_color_link_text=”333333″;a2a_color_link_text_hover=”333333″;
[...]