Archived entries for Experiment

[Random] Climb Climb Climb

dsc_09651
This little friend was found when I was shopping with Canny on one fine day along the Pasar Malam for some fresh vegetable. Nom nom nom.

[Tips] Using PHPlist with Flash Actionscript 3.0

Will add more description on this post soon, enjoy for now. PHPlist is a powerful mailing list management tool, however the downturn came when there’s very little support in porting this to other type of output i.e. Flash. Thanks to the guys from phplist forums.

function submitRegister():void {
	var fieldName:String					= inputName.text; // your text field on the stage
	var fieldEmail:String					= inputEmail.text;// your text field on the stage	

	var formVariables:URLVariables			= new URLVariables();
	formVariables.attribute1				= fieldName; // the attributes are according to the form's input field

	// anything below is a must to have, do not remove it, but you can modify it //
	formVariables.name 						= "subscribeform";
	formVariables.subscribe 				= "Subscribe";
	formVariables.email 					= fieldEmail;
	formVariables.emailconfirm 				= fieldEmail;
	formVariables.htmlemail					= 1;
	formVariables["list[1]"]				= "signup";
	formVariables["listname[1]"]			= "Your MailingList Name";

	var formRequest:URLRequest				= new URLRequest();
	formRequest.url 						= "http://www.yourwebsite.com/lists/?p=subscribe&id=1"; // url of where your form/subscribe page resides
	formRequest.method						= URLRequestMethod.POST;
	formRequest.data 						= formVariables;

	var formLoader:URLLoader				= new URLLoader();
	formLoader.addEventListener(Event.COMPLETE, registerComplete);
	formLoader.addEventListener(IOErrorEvent.IO_ERROR, registerError);
	formLoader.load(formRequest);
}
function registerComplete(e:Event):void {
}
function registerError(e:IOErrorEvent):void {
}

[Experiment] Panorama

panorama
Flash Panorama Wall
Recalling back the previous blog post on how easy it is with the new papervision engine, I think to show you visually is better than explaining it! Enjoy! And of course, most of these demo are churned out like in 1 day? Will share source code when I clean it up :) Happy new year! And yes, the pictures are retrieved from Flickr, so I guess your mind already started to wander in wilderness on the possibilites in this!

[Experiment/WIP] Visualis3d

visualiser

AS3 : Visualis3d
Ignore the fancy name, although nothing to be shout and proud of, this is my latest experiment with As3 and Papervision 2.0 which released early end of the year. Of course what shocked me is the easy-ness of implementing all these despite the fact that it’s like a horror movie everytime to think about 3D in flash. Not anymore, as emphasized on my previous post, this time around, with the present of BasicView, it’s almost like adding another Sprite or MovieClip into your project. Fast and easy.

Will provide the source code when I cleaned it up. Please wait while the audio loads. Forgot to put in preloader, my bad. And to change the look of the visualiser, cick on it :)

UPDATE 1/1/2009 : Below is the source code as promised :

First, get the necessary classes :

And if it doesn’t work when you trying to export, check :

  1. Have you got the necessary classes?
  2. If yes, did you mix the old version of papervision (1.5 / 1.7 / GreatWhite) with the latest one? Use only the latest one and remove the legacy versions.
  3. I did not include the music file, which you can use your own, and rename it to music.mp3.

Wii Gallery?

I think this probably not something new, but I ought itching to try the very stylish and usable gallery style inspired from Wii Channel. Press UP and DOWN key to change in between the tiles.

NOTE: This version of wii_gallery is STILL UNSTABLE and MAY crash your browser. Try to refrain from holding the UP/DOWN key all the time.



Copyright © 2004–2009. All rights reserved.

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.