banner ad

Sunday, March 22, 2009

Javascript is your Flash alternative »

As marketers devote bigger portions  of their budgets to digital-ad campaigns. Finding ways to cut costs for digital production work is becoming increasingly important. Online campaigns have increased in sophistication and Adobe Flash, benefiting...

Monday, October 06, 2008

Toggle menu v1 »

Based on toggle menu v0 speed is now calculated via the slider.  I also added x position detection to be more precise.  inside checks if mouse is inside the X and Y area of the rectangle whereas state calculate precisely if the mouse is approaching...

Saturday, June 21, 2008

Light effect v6 »

I used the bitmapData draw method to take snapshots of the light.  In essece, I am converting the effect into a bitmap image. This results in decreasing the amount of total vectors on stage (sine they are being drawn through the drawing API) and...

Monday, June 16, 2008

Light effect v5 »

Using a similar light effect script as the one posted on light effect v4, I created 5 points and made sure the line effect traveled between all 5 points. I also included a speed variable to control the speed of the animation.  Due to the transparency...

Thursday, June 12, 2008

Light effect v4 »

In the following example,  I am using a similar light effect script as the one posted yesterday, In this example I blurred the generated drawing API lines.  To get my script to go from point A to B, I am interpolating between 0 and 1. ...

Wednesday, June 11, 2008

Light effect v3 »

In the following example,  I am using a similar light effect script as the one posted a few months ago, although I decided to make it choose  random points on stage and move from one point to another.  To get my script to go from point...

Tuesday, December 18, 2007

Moving to the dark side : slidebar in AS3 »

I officially decided that time had come to move into a new era of programming, Reflektions | miniml will now switch to AS3.  The holidays are here and time has come to start thinking of new year resolutions, and I thought this would be a good...

Wednesday, November 28, 2007

I-tunes touch!cover flow v5 »

Adding touch! to the I-tunes cover flow script. I added an onRelease event handler That calculates the x distance the 2D camera object has to travel in order to center the clicked item.   I made sure this takes under consideration the distance...

Monday, November 26, 2007

I-tunes cover flow v4 »

One addition to the I-tunes cover flow script I posted last week. I added a variable I called ratio and assigned it controls the spacing between the items.  Initially I set it to 3.7 although by clicking on the reset button you can generate random...

Wednesday, November 21, 2007

I-tunes cover flow, no papervision here! »

A few months ago a few talented flashers scripted the I-tunes cover flow and ended up using thousands of lines of code and the papervision 3D API.  Then again, results were sluggish and often required flash 9.  Here are those experiments...

Monday, November 19, 2007

I-Tunes cover flow v3 »

I based this experiment on the x slider physics. Create 20 identical clips and arrange them one after the other horizontaly.  Create a camera object and compute its position through the slider. I also added the bitmap skewed rotation and rotated...

Monday, November 12, 2007

I-Tunes cover flow v2 »

Skewing my bitmap as it travels across the stage. I am looking into creating a more organic animation.  I created a variable n that I am incrementing in order to displace my gradient and create the following animation.  AS far as skewing...

Friday, October 05, 2007

Light effect v2 »

In the folowing example,  I am using a similar script as the one posted yesterday, although I decided to include a extra line on top of the blured one and I spaced out the x points and no longer delete the line.  I wait for the animatiojn...

Thursday, October 04, 2007

Light effect v1 »

Using the drawing API I draw a line between two points.  I then decided to create and store a random y positions in a n array in order to draw a zigzag shapes (see last post).  I now blur the  created line to give a halo or fire effect....

Wednesday, October 03, 2007

Light effect v0 »

A few months ago I was asked to create a light streaking effect in flash for the new sprint.com campaign. The following posts will be dedicated in the acheivement of that specific effect.  I decided to start by using teh drawing API and draw a...

Friday, September 21, 2007

Flash Forward lecture notes and presentation files »

You can download my Flash Forward bitmapData and 3D image manipulation in AS3 lecture files here. Browse through all experiments and get source code here

Monday, August 06, 2007

Flash FLV player update »

*****************************************************************     (Sorry!) This Player is no longer available to download or online  *****************************************************************

Tuesday, April 24, 2007

OSX circular menu v5 »

I showed this last experiment at my FITC lecture. It is an extension to the OSX circular menu v4 post. I applied the same logic or the icon spacing where I created a variable I call Hz that defines the horizontal space needed between icons when the...

Wednesday, April 11, 2007

Circular OSX menu »

Got it! I created a circular OSX style navigation menu similar to the Tagnautica menu by Mario Klingemann.  The code is actually even simpler than the last OSX menu post. Instead of laying out my icons on a horizontal line, I arrange them around...

Tuesday, April 10, 2007

OSX menu v4 »

In the last OSX menu script, I realised I was lacking a variable to control the horizontal spacing between items.  That is why I created the hZ variable to desxcribes in pixels how much space between each icon.  Use the slider to control...

Friday, April 06, 2007

OSX menu v3 »

About a year ago, I had posted a few experiments about creating and OSX type navigation menu. A few weeks ago, I decided to rework that code in order to ultimately create a navigation similar to the Tagnautica menu by Mario Klingemann.  What is...

Wednesday, March 28, 2007

TabBox : display tabbed information »

This tab menu helps display tabbed information with a simple navigation.One of the few components not represented in the Macromedia V2 component set, the tabs are a useful alternative. I wrote this small script, it has everything you need to populate...

Tuesday, March 27, 2007

transformation matrix v3 »

I mentioned in previous posts that skewing is not available in ActionScript outside of the transformation matrix ... then again the transformation matrix skewing is not anything special. After much playing around, I realise the matrix is a bit complicated,...

transformation matrix v2 »

There are at least four good reasons to use the transformation matrix:      1. BitmapData requires a transformation matrix to transform drawn bitmaps   2. To encapsulate info about how to transform a Clip/BitmapData instance...

Monday, March 26, 2007

transformation matrix v1 »

In the distort image v7 post, I used the trasfrmationMatrix class to create transformation effects onto my clips.  In Flash 8, any movie clip now has a property called transform. This is an object that contains another property called matrix....

Friday, January 26, 2007

collapse menu v2 »

Before I update the collapsible menu into AS3, I realised that I was dissatisfied with the animation's motion.  The tweening was done using the well known method x -=(x-dx)/speed Although smooth I found it unreliable at times (try clicking...

Thursday, January 25, 2007

collapse menu v1 »

This post is based on the elastic menu v2 I had written a long time ago.  I am redesigning my portfolio and needed a collapsible menu.  So I rewrote the elastic menu script and changed all hotizontals to verticals. The goal of this exercice...

Thursday, November 30, 2006

grid with masks v1 »

Each grid cel ,created using the grid code,  gets the same image assigned to it.  Although they each mask a different part of the picture, this creates the following pattern.  This enables us to consider each image fragment as an individual...

Tuesday, November 28, 2006

grid 101 v3 »

Looking at physical forces I wanted to give a simple solution to getting clips to react to mouse movement by growing and shrinking as the mouse gets closer.  Proximity and repulsion is detection is what we need and we acheive this by getting each...

Monday, November 27, 2006

grid 101 v2 »

In my last post I wrote about creating grids in flash and I mentioned that it could be usefull for equalizing music.  This post is still a long way from an equaliser but here is teh basic principle.  You create your grid and get each cel...

Tuesday, November 21, 2006

grid 101 »

The basic of all of the next number of post will reside on understanding how to construct grids in flash. Often neglected this small parcel of knowledge can be used on numerous occasions, especially when dealing with patterning backgrounds, music equaliser...

Wednesday, October 18, 2006

steradians v3 »

Based on the stradians post  and the  z slide physics  (you could also take a look at the other 3D experiments that use the same technique).  We define a frequency at which the circle generates and then generate that in our 3D space. ...

steradians v2 »

Yesterday I posted some facts about steradians,  and finaly realised why I needed to listen to my math teacher in high school. So yeah, a steradian is the solid angle subtended at the center of a sphere. My next posts will use this to create sweet...

Tuesday, October 17, 2006

steradians v1 »

All these experiments with circles and 3D often guides me in getting  an understanding of those unobvious things geomety and mathematics has to offer.  In this case, stredians, something I encountered when I was trying to get multiple clips...

Tuesday, October 10, 2006

sin interpolation »

In the mathematical subfield of numerical analysis, interpolation is a method of constructing new data points from a discrete set of known data. This is called curve fitting. Interpolation is a specific case of curve fitting, in which the function...

linear interpolation »

In the mathematical subfield of numerical analysis, interpolation is a method of constructing new data points from a discrete set of known data. This is called curve fitting. Interpolation is a specific case of curve fitting, in which the function...

Tuesday, August 29, 2006

Rotating the mouse »

Rotating a clip along a curved path is largely based on the rotation of the mouse formula.  In this example the clip follows the mouse cursor using this simple formula :  dx = _xmouse - clip._x; dy = _ymouse - clip._y; // roate clip...

Thursday, July 27, 2006

random color »

I can not go any further into my particle exploration scripts if I cannot get this point across.  Generating random color.  Not that hard, simply check the color basics post and from there use the random method to generate new colors.

Tuesday, July 25, 2006

Color basics »

To display colour on a computer screen you need to control three settings: Red, Green and Blue (RGB).  The values run from 0 through to 255. So if all three colours are set to zero (0, 0 , 0) there is no light so the object on screen will be black....

Friday, April 28, 2006

Screen wrapping »

In my last post I used an example of screen wrapping in my script and wanted to talk about it a bit more.  Screen wrapping is the good old effect you get when pacman exits the screen from the left and re-enters fromt he right.  The detection...

Wednesday, April 19, 2006

3D rotate w drop shadow »

Using Flash 8 filters in 3D worlds can create unexpected results.  In the following exampel I took the 3D circle rotation script and added a drop shadow filter.  Nothing particular but you should notice the shifting of the inner drop shaddow...

Tuesday, April 18, 2006

3D pullthrough with bevel fx »

In this example we control the following Bevel filter parameters via the 3D z value. The code takes the 3D pullthrough v1 script and animates the bevels.

3D pullthrough with glow fx »

The following example takes the 3D pullthrough v1 script and animates the glow by adding the following lines. var glow = new GlowFilter(); clip.tempFilter = clip.filters; clip.tempFilter.push(glow); The other available filters are...

Monday, April 17, 2006

3D pullthrough with blur fx »

Now that Flash 8 supports filters, The extra burden of importing graphics to create blur effects has been eliminated. You can access the new filters through the import flash.filters.BlurFilter ActionScript. The following example takes the 3D pullthrough...

Monday, April 10, 2006

CSS style menu »

Creating dynamic menus in often necessitates rollOver, rollOff and onClick status. Creating this type of of an effect is standard when doing sites in HTML via CSS.  To get Flash up to par, I wrote the following script.  Dynamic text inside...

Tuesday, April 04, 2006

Mouse Tracking »

When working with 3D worlds, navigation is always BIG issue.  People want to navigate while moving their mouse around, yet they seem unaware of how sensitive the mouse really is.  The following examples generates smooth mouse tracking...

Friday, January 06, 2006

Flash trace() to .txt »

How many times have you built something in Flash, tested it a million times or more, have it work great, and then fail as soon as you put it online, or outside the Flash IDE ? You then go back to your local version, test some more, and begin throwing...