Posts Tagged ‘actionscript’

Zooming using transform Matrix

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 / [...]

Site launch – portfolio site v3

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

IE bug with HTTPS and XML

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 [...]

Site launch – Moonbeam Films

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

Dragging in Papervision 3D – example

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 [...]

Restricting a number to a certain range

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));
 

City Broadcasting – site launch

This site went live recently. It was a very quick build using the Gaia framework.
It is XML driven and AS3.0

link

Flash on TV

Good news for Flash Developers, Flash will soon be on your TV!
link: Adobe Flash secures set-top deal

Augmented Reality – FLARToolKit

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 [...]

Davies Leslie-Smith – site launch

This is a simple site I developed for Digital Horse.
It is AS3.0 and XML driven.
http://www.daviesleslie-smith.co.uk/