Associate identifier to loop block
Posted on May 1, 2009, under Action Script 3, Flash, snippets.
var i:Number;
var j:Number;
mainLoop: for (i = 0; i < 10; i++)
{
for (j = 0; j < 10; j++)
{
if (i > 3 && j > 3)
{
break mainLoop;
}
}
}
ActionScript Tween Libraries
Posted on May 1, 2009, under Action Script 3, Flash, Flash Libraries.
Tweensy Zero / Tweensy Original / Tweensy FX
ByteTween
AS3 Animation System
Adobe Tween
BTween
Go (successor of Fuse Kit)
GTween / GTweenTimeline / GTweenFilter / GTweeny
GTweener
KSTween
Tweener (successor of MC Tween)
TweenLite / TweenMax / TweenGroup
Copy text to clipboard
Posted on May 1, 2009, under Action Script 3, Flash, snippets.
System.setClipboard("Lorem ipsum");
[SNIPPET] Detect if the swf is local or online
Posted on April 30, 2009, under Action Script 3, Flash, snippets.
var localMode:Boolean = loaderInfo.url.indexOf("file") == 0;
Source: http://www.mrdoob.com/blog/post/647
embedding font in actionscript 3.0 components
Posted on April 30, 2009, under Action Script 3, Flash, Uncategorized, snippets.
var rb: RadioButton = new RadioButton();
var txtFormat : TextFormat = new TextFormat();
txtFormat.font = "Lucida Sans Unicode";
rb.setStyle("textFormat", txtFormat);
rb.setStyle("embedFonts", true );
Handle links in HTML-enabled textfield
Posted on April 21, 2009, under Action Script 3, Flash, snippets.
txtField.htmlText = "Test“;
txtField.addEventListener(TextEvent.LINK, handleLink, false, 0, true);
function handleLink():void
{
trace(evt.text);
}
CodeIgniter - Open source PHP web application framework
Posted on July 29, 2008, under CodeIgniter, PHP.
CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
Who is CodeIgniter For?
CodeIgniter is right for you if:
- You want a framework with a small footprint.
- You need exceptional performance.
- You need broad compatibility with standard hosting accounts that run a variety of PHP versions and configurations.
- You want a framework that requires nearly zero configuration.
- You want a framework that does not require you to use the command line.
- You want a framework that does not require you to adhere to restrictive coding rules.
- You are not interested in large-scale monolithic libraries like PEAR.
- You do not want to be forced to learn a templating language (although a template parser is optionally available if you desire one).
- You eschew complexity, favoring simple solutions.
- You need clear, thorough documentation.
Click Here for Download CodeIgniter PHP framwork.
In Next Post We will see How to write simple “Hello CodeIgniter Application”.
iTunes 7.7 + Windows Vista x64 == OK

iTunes is a piece of software that lets you add to, organize and play your digital media collection on your computer, as well as sync it to a portable device. It’s a jukebox player along the lines of MusicMatch and Windows Media Player, and you can use it on a Mac or Windows machine. The most significant difference between iTunes and some other media players is the built-in iTunes Music Store (where you can get podcasts, music videos, movies, audiobooks and TV shows, too) and its multi-level integration with Apple’s iPod portable media player.
Changelog:
*Ability to sync music, video, and more with the iPhone 3G
*Download applications for the iPhone and iPod touch
Windows Vista x64
I am happy to announce that iTunes 7.7 and Windows Vista x64 work well together. The Apple downloader even chooses the correct 64-bit version of iTunes through every browser that I have tried, so they obviously fixed something where you don’t need to download iTunes through the 64-bit version of IE. No word yet if the iPhone 2.0 or 1.0 will work with the 64-bit version of windows.
Whats New?
As far as I can see nothing is really new with the application. The only noticeable things is that the “Games” menu item has now been changed to “Applications”. So if you were expecting a huge jump forward in functionality you are going to be bummed. Most of the changes probably went to support their new Mobile Me platform, push applications, and the iPhone 2.0.
We will continue to update this changelog as more features become known
Download: iTunes 7.7
Link: iTunes Homepage
How to Stop Windows Automatic Updates from Restarting Your Computer
Posted on July 19, 2008, under Vista Tips.
Ever get tired of seeing this screen?
It’s easier to get rid of than you think. Just pull up Windows Command Prompt (usually Start > Run > and type “cmd”). Just type this following line to stop the annoying screen from popping up:
net stop “automatic updates”
Wordpress: A RSS Feed for Categories
Wordpress can expose every category or tag as a RSS feed. For example, you can announce the feed for a category by adding this into your theme file at the part where the HTML-Head is generated:
<?php
if (is_category())
{
?>
<link rel="alternate" type="application/rss+xml"
title="RSS 2.0 for category"
href="<?php print $_SERVER['REQUEST_URI'] . ‘/feed’ ?>” />
<?php
};
?>
You can check out more conditional tags from the Wordpress API