Array – randomly re-arrange array

Posted by thornyeternity in ActionScript 3 Snippets on 27. Mar, 2009 | 0 Comments

Someone simplified code, found somewhere; sorry whoever: var arrayA:Array = new Array(“A”,”B”,”C”,”D”,”E”); //var randomPage:Number = Math.round(Math.random()*(arrayA.length-1)); //trace(arrayA[randomPage]); for(var i:Number = 0; i < arrayA.length; i++){ arrayA.push(arrayA.splice(Math.floor(Math.random()*arrayA.length), 1)); } trace(arrayA);

Arrays – Finding string information in arrays

Posted by thornyeternity in ActionScript 3 Snippets on 27. Mar, 2009 | 0 Comments

Find a string in an array.

Added to Stage Event

Posted by thornyeternity in ActionScript 3 Snippets on 27. Mar, 2009 | 0 Comments

Remedy to stage property not accessible error.

Insert body class name in Joomla

Posted by Michele in Code on 25. Mar, 2009 | 0 Comments

I recently had to add a class name per section into a body tag for a Joomla based website I have been working on. After quite a bit of google’ing I found this and it was super useful. To use the menu alias as the class name <?php $menu = &JSite::getMenu(); $active = $menu->getActive(); ?> [...]

Great article on Call to Action buttons

Posted by Michele in Design on 20. Mar, 2009 | 0 Comments

Found this article on ‘Call to Action’ Buttons. Click here to read

Great Free Fonts

Posted by Michele in Design on 05. Mar, 2009 | 0 Comments

Some awesome fonts to use in design for both print and web. 50 Incredible Free Fonts