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 drastically improves my FPS which stays close to it's original 31fps. This example is based off the same technique as the light effect v5 post and introduces the bezier physics for the curves in the shapes of the letter B. Use the show/hide button to see the points and move them around, see how the light follows.
*Note: this script is in ActionScript 2, I found it while rummaging through my experiments while preparing my lecture for flashbelt. I had not posted it before.
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 transition and teh blurring more »
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. This basic explanation of this more »
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 A to B, I am interpolating more »
You can download my flashbelt lecture files here.
more »
The company where I currently work : Blast Radius is currently looking for talented people to join our San Francisco office and work alongside me– specifically, killer CSS gurus, masters of hand-coded CSS and JavaScript, Flash/Actionscript programmers, and problem solvers.
All more »
The speaker lineup is as good as it gets, the topics are even more interesting, a nice blend of creative & technical, all good reasons to attend this years flashbelt conference taking place in Minneapolis.
I would love to get in touch with all the flashers from that more »
Often while working on dynamic flash websites, I get confronted with the challenge of placing multiple interactive items on top of an image. (think of it as a Ferrari with roll over popup zoom and detail buttons). Since it's dynamic, x/y coordinates need to be set via XML. more »
The Reflektions Miniml CD was due for an upgrade. In the past months, I was hard at work exploring a bunch of new AS3 experiments, new frameworks (Flex) and compiler options (MXMLC) for swf creation. The CD upgrade features all the great work I put in since November and all the more »
My second take on the accordion collapsible menu in AS3. This time around I eliminated the function responsible for animating the grow/reduce easing and relied on my custom AS3 easing class written based on the easing formula posts. This way I get a seperation between accordion more »