Am working on a pixel engine… thought i test it out by making a sphere. I now have the sphere calculations correct and understood..wohoo! This sphere is made with setPixel and Matrix3D.appendRotation. And this following formula to put pixels randomly over a sphere mesh: [-]View CodeACTIONSCRIPT1 2 3 4 5 6 7 var radius:Number = 100; var theta:Number = Math.random() * Math.PI; [...]
1649 readers
1020 readers
1194 readersIn this tutorial the colour of the movie clip will change randomly using the ColorTransform class and the Math.random method. Category:Flash Actionscripting TutorialsAuthor: iliketoflashDate: January 06, 2010
516 readersWith Flash, interactivity isn't always about the content itself. Sometimes it's understated. Sometimes, for example, it's merely about picking a SWF at random when the user decides to reload the HTML page ? regardless if the Flash content is programmed or not. You might use an approach like this to randomly display a set of
524 readersLearn how to store images addresses in an external XML file and load them randomly at runtime. We give a few simple examples: a random image is loaded when a button is clicked; a random image is
2324 readersIn my previous tutorial Shoot Out Stars with the Stardust Particle Engine, I explained the basic workflow of Stardust. This time, we’ll take things further and examine a couple of techniques for creating true 3D particle effects! Introduction We’ll begin with a demonstration of how to use the Stardust’s native 3D engine. Then, I’ll show you how
1040 readers
373 readersHere’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";
1293 readers
683 readersIn this new flashandmath.com tutorial, we deal with the important subject of texture mapping in AS3. We use custom AS3 classes to paste a bitmap image around a sphere and to create a textured sphere. Spheres
8,013
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.

