Lorem Ipsum – All the facts – Lipsum generator
Lorem Ipsum – All the facts – Lipsum generator
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec convallis feugiat nisl. Sed vitae odio. Quisque quis sem a sapien pretium pharetra. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed tortor sem, dictum eu, sagittis eu, porttitor quis, massa. Vestibulum lorem nisl, molestie id, commodo quis, scelerisque at, dolor. Aenean bibendum tincidunt est. Aenean mollis. Suspendisse sagittis, ligula eu adipiscing viverra, lorem turpis feugiat magna, id bibendum lectus libero eu ligula. In sagittis sodales mauris. Vivamus at leo eget nisl porta posuere. Vestibulum id purus. Phasellus eu justo elementum erat euismod euismod. Fusce cursus quam sed massa. Phasellus sed leo. Sed feugiat.
You get the picture!
Preloading in AS3
The process of preloading in AS3 is quite different to AS2. In my AS2 projects I often use a small (<20K) loading progress indicator to preload the larger application SWF. Once the main SWF is completely loaded, I would then replace the preloader content with that of the application.
One easy alternative to this is to add the loaded application content directly to the stage instance of the preloader.
My preloader code:
package {
import flash.display.DisplayObject;
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.net.URLRequest;
/**
* ...
* @author Zu
*/
public class Preloader extends Sprite {
private var loader:Loader;
public function Preloader() {
loader = new Loader();
loader.contentLoaderInfo.addEventListener( Event.INIT, onLoadInit );
loader.contentLoaderInfo.addEventListener( ProgressEvent.PROGRESS, onLoadProgress );
//The name of the application file to be loaded is passed in through flashvars or query string.
//Assuming that I've named my flashvar as FILE
var sAppFile:String = loaderInfo.parameters["FILE"];
loader.load( new URLRequest(sAppFile));
}
private function onLoadProgress(e:ProgressEvent):void {
//simple trace to see the loading progress.
//code some sort of visual indicator of progress
trace( e.bytesLoaded );
}
private function onLoadInit(e:Event):void {
//add the loaded application to the stage
stage.addChild(loader);
//remove the preloader
this.parent.removeChild(this);
}
}
}
This can easily be modified to preload multiple files.
ZK – #1 Ajax and Mobile Framework
ZK – #1 Ajax and Mobile Framework
ZK framework offers a quite a comprehensive set of UI components, windowing, scripting and many other cool features. The ZUML markup looks very easy to pickup for anyone with a bit of HTML background.
It’s built with Java and runs on Tomcat.
The documentation looks to be at a mature state.
Well worth further investigation…
RegExr: Online Regular Expression Testing Tool
Very useful Regular expression builder/tester tool by Grant Skinner – props!!!
RegExr: Online Regular Expression Testing Tool
Creating ActionScript 3.0 components in Flash
Adobe – Developer Center : Creating ActionScript 3.0 components in Flash
Helpful Resources For Learning Flex
LFFS – 7: Helpful Resources For Learning Flex (part one) – InsideRIA
The article is a great compilation of various Flex resources available.
Modest Maps
This seems like a great opensource mapping/tilling engine for use with NASA, Google maps and other map providers.
Old fav Sinclaire ZX games in Flash
This is pretty sweet – Green Beret used to be my most fav game!
The Flash Blog » New Video Tutorial on Binary Socket Fundamentals
The Flash Blog » New Video Tutorial on Binary Socket Fundamentals
Lee has added this really useful video tutorial. This will come in very handy, no doubt!
Papervision3D: Part 1- Foundation and 3D Object Basics – InsideRIA
Papervision3D: Part 1- Foundation and 3D Object Basics – InsideRIA
Excellent intro to get you started with the latest PV3D engine.
