Posts tagged with “flash”


Sprite: Properly update properties

Simple: update the x property of a bunch of Sprites on the stage based on the Mouse’s x position.

If you are on the right half of the stage, move objects to the left (scroll right/negative x). If you are on the left side of the stage, move objects to the right (left scroll/positive x). This also takes into account how close you are to the center; if you are closer to the edges, scroll faster.
Read More »

October 16th, 2008  by Stephen  /  5 Comments
Flash, ActionScript, Sprite, update property


Custom filters (sort of) without Pixel Blender

Following up on Andrews post concerning Pixel Bender I’ve recently been playing with the convolution filter and I thought I’d share some findings. The convolution filter allows you to pass a matrix of values that are iterated over the pixels of a source image that influence the pixels in the original image. This is more or less what an image filter in pixel bender is doing.

Read More »

September 12th, 2008  by Charlie  /  0 Comments
actionscript, flash


Flashbelt is soon

I will be speaking at Flashbelt which is in Minneapolis starting on Monday, June 9, a little under 3 weeks from now. This will be my first time attending or speaking at Flashbelt, but I’ve heard it is a great event, and it looks like Dave has put together an excellent lineup of speakers.

May 21st, 2008  by Joshua  /  1 Comment
speaking, flash


Adobe Open Screen Project

Last night Adobe announced the Open Screen Project initiative.

“The Open Screen Project is working to enable a consistent runtime environment – taking advantage of Adobe® Flash® Player and, in the future, Adobe AIR™ — that will remove barriers for developers and designers as they publish content and applications across desktops and consumer devices, including phones, mobile internet devices (MIDs), and set top boxes.”

Very cool stuff. Too bad Apple isn’t on the list.

May 1st, 2008  by Joshua  /  2 Comments
Adobe, Flash, AIR, Flex


E4X: A better way to deal with XML.

I’m not writing anything that hasn’t already been documented out there before, but I did want to mention one of my favorite things about AS3 - E4X. E4X is ECMAScript for XML. You can read more about it here. http://en.wikipedia.org/wiki/E4X.

XML is implemented natively into ActionScript 3… no more parsing XML files form astrong. You can leverage this to traverse XML files for specific pieces of content without the need of running a for loop or converting the XML to an object or anything. The trick is mastering the syntax.

Read More »

April 23rd, 2008  by Jamie  /  5 Comments
actionscript, flash

Next →