Here’s a nice static method for creating random passwords…should the need ever arise 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 public static function generateRandomPassword( length:int = 7 ) : String { //characters to use in password var _salt : String = "abchefghjkmnpqrstuvwxyz0123456789ABCHEFGHJKMNPQRSTUVWXYZ"; //initialize vars var _password : String = ”; var _i:Number = 0; //loop while ( _i <= length ) { var _num : Number = Math.random() * _salt.length; _password [...]
1772 readers
1654 readersFirst of the month (more or less) and therefore time for another Exclusive Freebie! This month ActiveDen author flashanctuary offers up an interesting tool making use of the Google Text-To-Speech API. Check it out after the jump! Using the Unofficial Text-To-Speech Google API Not so long ago, google added a new cool feature to the
2027 readers
821 readersThis simple function creates star field animation. You need MovieClip in your library with 'star' class linkage. If stars are not your thing, feel free to try it with any other image you make. code ::import flash.events.Event;import flash.events.MouseEvent;function starField():void {var i:uint = 0; while (i < 30) { var a:star = new star(); a.x =
1525 readers
1209 readers
1661 readersIn this Quick Tip we are going to talk about the Singleton design pattern and how it can help you to optimize your code when you need exactly one instance of a class. Step 1: Introduction As a programmer you must be aware that there are some cases where you want to use an instance
489 readersUsing the enum strategy can save you some heartache if you want to create type safe applications. Say you have a type characteristic of an object. For example, every time you create a new Person(), you can specify a height like new Person("tall"), new Person("average") or new Person("short"). But how do you ensure that you
658 readersA simple AS3 how-to in which we show basic methods and properties of the Tween class. We also show how to generate random integers in a given range via the Math.random() method. We construct a simple game spinner as an example.
1598 readersA simple AS3 how-to in which we show basic methods and properties of the Tween class. We also show how to generate random integers in a given range via the Math.random() method. We construct a simple
8,884
Subscribe to RSS headline updates from:
GurusUnleashed
Powered by FeedBurner
Curious what others are searching for? Below are the most popular search terms over the last 30 days.

