Posted on January 16, 2010, 10:46 am, by Daniel, under
actionscript.
Here is a brilliant post ‘Zooming in Flash & Flex’ on how to use the transform Matrix to zoom and rotate DisplayObjects. Daniel Gasienica writes well and has some great examples demonstrating to correct way to apply these transformations to your clips.
Using this method saves you messing around with the Point class and localToGlobal / [...]
Posted on January 16, 2010, 4:47 am, by Daniel, under
actionscript.
I’ve just launched my new portfolio site. This is v3.0 of sitedaniel.com, and takes a more minimalist approach to the design than the previous versions. This site is powered by ActionScript3.0 and XML, and uses some fun BitmapData effects.
link
Posted on December 9, 2009, 9:20 am, by Daniel, under
actionscript.
Here is a great post about how to make sure your XML loaded over HTTPS in Internet Explorer doesn’t fall victim to a nasty bug.
If you’re getting Sandbox Security errors but your crossdomain.xml file is set up correctly then you might need to alter the header values in your server response. This really is a [...]
Posted on September 25, 2009, 6:10 am, by Daniel, under
Uncategorized.
This site for Moonbeam Films went live last week. It is AS3.0, XML controlled and uses the Gaia framework. It also uses the Google Maps API which is very easy to set up and use.
http://www.moonbeamfilms.co.uk
Posted on September 4, 2009, 7:51 am, by Daniel, under
actionscript.
UPDATE 29/09/09: This technique is possibly no longer valid with the latest version of Papervision3D.
Here is a small example I put together quickly today to demonstrate how to drag in 3D using Papervision and the InteractiveUtils.getMapCoordAtPointDO3D function.
Since my last post on this in December last year, the Papervision getMapCoordAtPointDO3D method returned object’s x and y [...]
Posted on June 11, 2009, 5:02 am, by Daniel, under
actionscript.
Quite often I need to restrict a number to a range with a defined maximum and minimum value. Rather than using if else statements you can do this simply with Math.max and Math.min:
var restricted_value:Number = Math.max(MIN_VALUE, Math.min(MAX_VALUE, value));
Posted on June 7, 2009, 12:30 pm, by Daniel, under
actionscript.
This site went live recently. It was a very quick build using the Gaia framework.
It is XML driven and AS3.0
link
Posted on April 20, 2009, 8:29 am, by Daniel, under
actionscript.
Good news for Flash Developers, Flash will soon be on your TV!
link: Adobe Flash secures set-top deal
Posted on March 7, 2009, 2:05 pm, by Daniel, under
actionscript.
Here is my first attempt at using FLARToolKit and Papervision3D to augment my reality.
The FLARToolKit is great and very easy to get up and running, thanks to the great demo from Saqoosha.
You can design your own image and generate a marker file here.
If you have a webcam you can download my marker image, then [...]
Posted on February 10, 2009, 10:25 am, by Daniel, under
actionscript.
This is a simple site I developed for Digital Horse.
It is AS3.0 and XML driven.
http://www.daviesleslie-smith.co.uk/