Archived entries for tips

[Tips] How to convert Degress to Radians :)

function radians(i:int):Number
{
return Math.PI/180*i;
}

Pretty neat formula that you can reuse in absolutely everywhere. Anyway, this is applicable in Actionscript 3.0.

[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 {
}

[Inspiration] Tutorial on how to create convincing butterfly in After Effects

butterflty

Part 1 of the tutorial | Part 2 of the tutorial

I’d think it’s really cool to always revisit old techniques in new softwares, versions. I wouldn’t deny that there might be millions of people already know this, but seeing how much of the old tutorials sites using the older version of After Effects, it wouldn’t really hurt to see how it works in newer version softwares such as AE CS4. Layers magazine been sending me really cool stuff, not only techniques on one softwares, but even Illustrator, InDesign or Photoshop, works just like how Nettuts gives us, but in a different manner.

[Tips] Adding Google Analytics to your Flash Actionscript 3 Project

It has been almost ages that we finally able to harness the power of analytics inside Flash. However it would be a turndown for those who wants this in Actionscript 2. At the moment it seems there won’t be any plan for porting this to ActionScript 2. Your best bet would probably to jump the Actionscript 3 bandwagon to get benefits of this tool. This will be a through guide on how to setup your Flash file to enable Google Analytics tracking.

Continue reading…

[Freebies] Browser Frame Template for Web Designers

Hoo-hay web designers! I’ve compiled a list of files for your convenience in designing web interface for your client, or even just for mock’in up fun. For the current moment, I’ve included few resolutions with different flavours for you to choose from, such as :

firefox_800x600
Firefox 3.0.6

ie_800x600
Internet Explorer 7.0.5730.13

opera_800x600_scrollbar
Opera 9.63

safari_800x600
Safari 3.2.1
chrome_800x600

Google Chrome 1.0

Download Browser Template Below

1440×900 (17 inch widescreen)

1024×768

800×600

Leave your feedbacks and comments below. More browser types, version and resolutions to come.



Copyright © 2004–2009. All rights reserved.

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