Latest posts

Jun 172014

Whoa, a weather plugin?

Uncategorized

A simple jQuery plugin to display the current weather information for any location using Yahoo! Weather. Developed by James Fleeting. Check out the original demo on codepen. Source

Read More
Jun 172014

Checking Media Queries With Javascript

Pocket Links

With the web being used on so many different devices now it’s very important that you can change your design to fit on different screen sizes. via http://ift.tt/1lAXawW

Read More
Apr 142013

Find extension of a file

Adobe AirAS3Flash

/** * * find extension of a file */ private function findExtension(str : String) : String { return String(str.split(".")[1]).toLowerCase(); }

Read More
Apr 142013

Resize image to fit in a rectangle

Uncategorized

/** * resize image to fit in a rectangle */ public function resizeToFit(mc : MovieClip, width : Number, height : Number) : void { var largeWidth : Number = mc.width; var largeHeight : Number = mc.height;...

Read More
Apr 142013

Set the movieclip color

AS3Flash

/*** set the movie clip color */ public function setColor(mc : MovieClip, color : Number) : void { var colorTransform : ColorTransform = mc.transform.colorTransform; colorTransform.color = color; mc.transform.colorTransform...

Read More
Feb 82013

Cube with different color faces

AS3Away3DFlash

public class away3DBasico_v003 extends Sprite { public var view:View3D = new View3D();   public var plano1:PlaneGeometry = new PlaneGeometry(100,100,1,1,true);//false indica si el plano esta acostado o parado   public var...

Read More
Feb 82013

Away3d 4 Beta: Bitmap texture with loaded image

AS3Away3DFlash

// creating the mesh var geometry:SphereGeometry = new SphereGeometry (100); var sphere:Mesh = new Mesh(geometry); scene.addChild(sphere); // loading texture var url:String = 'image.jpg';...

Read More
Feb 82013

Create a square in AS3

AS3

var square:Sprite = new Sprite(); addChild(square); square.graphics.lineStyle(3,0x00ff00); square.graphics.beginFill(0x0000FF); square.graphics.drawRect(0,0,100,100); square.graphics.endFill(); square.x =...

Read More
Apr 232012

Stylekit: a CSS3 parser and rendering engine intended for use in AS3

AS3CSSFlash

http://www.as3gamegears.com/ui/stylekit/  

Read More
Mar 252012

Javascript check for IE

Javascript

function getInternetExplorerVersion() {     var rv = -1; // Return value assumes failure.     if (navigator.appName == 'Microsoft Internet Explorer') {         var ua = navigator.userAgent;         var re = new...

Read More
Page 43 of 44« First...102030...4041424344