Dynamic Pixelate Background allow you to have a gorgeous pixel-style dynamic background in seconds.
Now available on ActiveDen!
Open the Flash file included.
You can see the Component on the Stage and in Library. Copy it from Library to another Library if you want to use in other projects.
To change and control in run-time the effect you can use the following simple API; remember to give an instance name to the component once it is on the Stage, through the Properties Panel.
Open the ActionScript Panel to write the code you need.
Once you’ve given an instance name to the component, use the following code to run it:
// 'pix' is the instance name of the component on the Stage
// optional parameter relative to the pixes size, default = 8 (set this before init() )
pix.pixel_size = 8
// optional parameter relative to the space between pixels, default = 1 (set this before init() )
pix.pixel_space = 1
// initialize the component with the size of the Stage and the initial colors (background and pixel color)
pix.init(stage.stageWidth, stage.stageHeight, 0x222222, 0xffffff)
// this is the function to trig the fade transition of the component
// pass the color and the time in seconds for the fadeInOut
pix.fadeToColor( 0xff0000, 5 )
// this will pause the pixels continuous animation
pix.core.pause()
// this will restore it
pix.core.restore()
// this will regenerate the grid based on new dimensions
pix.core.resize(stage.stageWidth, stage.stageHeight)
// use the following code to update the background on window browser resize action
this.stage.addEventListener(Event.RESIZE, update)
function update(e:Event)
{
pix.core.resize(stage.stageWidth, stage.stageHeight)
}
// TIP:
// you should use the following stage setting to make the component to work properly.
stage.align = StageAlign.TOP_LEFT
stage.scaleMode = StageScaleMode.NO_SCALE
Dynamic Pixelate Background is written in ActionScript 3.0. It is compatible from the Flash Player 9.0 or newer. You can use it within Adobe Flash CS3/CS4 and Flex SDK as well.
The core of the Component is a compiled clip so you don’t have to handle any ActionScript code. This keep easy the support process since there won’t any issue related to edited code.
Current release: 1.1
You can get it here.
Dear.
I have found your fog-steam component on activeden recently. But today is this page unavaliable.
http://activeden.net/item/fog-steam-mouse-effect/76531
Is there any way how to purchase this component?
Thank you
Lukas
Hi Lukas,
this item is no longer available for purchase.
Sorry for the inconvenience.
And is there ANY way how to purchase it directly from you? Please!
Lukas
I’m writing privately to you.
Dear.
Please, I would also like to purchase the component directly from you.
How can I do? Thanks.
GalaxyPatrol
i cant seem to work using API, what code should i place to use sky blue as the default color? and where to place the code?
Hi
You should take a look at the init() function where you can define size and colors.
Best