I’m absolutly fascinated with generative art and with an increase in websites dedicated to the topic, it seems the rest of the world are enjoying this creative trend as well!
Joshua Davis is probably the most known designer who incorporates this style.
FREE CLASSES AND EXAMPLE SOURCES
Machine Art with Flash – including source files
-
Computer Arts tutorial on [...]
admin Flash Art, Generative Art, classes art with code, Flash Art, Generative Art, joshua davis
There has been quite a lot of interest in creating 3D ribbon animations in Flash. Here are the more interesting websites, uses and resources…
admin 3D Ribbon, AS3, Flash Animation, Flash Art, Papervision, classes 3D Ribbon, AS3, classes, Flash 10 Ribbon, Papervision, PV3D, PV3D Ribbon
I had a factory method set up and wanted to be able to add and remove classes dependent on a variable name (therefore I didn’t know which class I needed to reference).
Luckily there is a getChildByName type of thing for classes called getDefinitionByName…
admin AS3 access a class, actionscript 3, getChildByName, getDefinitionByName
I wanted to create a star background particle system but the ones I saw online were all starfields that moved position whereas I wanted the stars to remain in the same place and fade in and out.
admin AS3, Particle System, classes AS3, class, Particle System, particle systems, star particle, star particle system
I wanted to incorporate deeplinking in a dynamic Flash website where the number and name of navigation links are dynamic. The only good way of doing this I could find was through using SWF Address
admin AS3, SWFAddress flash deeplink, flash deeplinking, SWFAddress
I have recently created an AS3 Flash Website that needed to change in height depending on the content. The main problem with this was that the browser didn’t know what height the Flash SWF was because I set the width and height in the HTML when the page was first hit and therefore the changes in height weren’t known and therefore the browser scrollbars weren’t following suit.
Luckily Miller Medeiros has created some JavaScript and As2/AS3 code that allows Flash to communicate with the browser to tell it the height of the SWF and therefore if the browser scrollbars need to be present or not.
admin AS2, AS3, SWFfit flash change height, swf browser height communication, swf height change, SWFfit
If you are receiving variables from a server through Flash Vars or XML etc then you may need to reformat the string for whatever purpose you need.
This post includes how to split a string such as “hey-there.flv” to find out the file type so that it can be used to bring up video properties instead of image properties. I will also explain how to get the “hey” out of the string and turn it into a word with the first letter capitalised.
admin AS2, AS3, String AS2, AS3, capitalise first letter of a word, charAt();, replace();, split, String, toUpperCase();
System.totalMemory gives the amount of memory (in bytes) currently in use in the Flash Player.
This is useful if you are worried about the amount of memory a website or application is using as you can trace out the totalMemory value to see.
admin AS3 AS3, flash system memory, system memory, totalMemory
The capabilities class can provide properties that describe the users system and player that’s hosting the SWF file. The Flash Help files use the example of “a mobile phone’s screen might be 100 square pixels, black and white, whereas a PC screen might be 1000 square pixels, color”. The point of the capabilities class is to allow the Flash Developer to find out what the device’s capabilities are and to change the .swf to suit those capabilities where ever possible.
admin AS3 AS3, capabilities class, flash, memory, operating system, printer support, resolution, system capabilities class
In ActionScript 3.0 the flash.systems package contains a wealth of useful functions, methods and properties that you may not know about.
fscommand(command:String, args:String = “”):void
Lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. You can also use the fscommand() function to pass messages to Director or to Visual Basic, Visual C++, and other programs that can host ActiveX controls.
admin AS3, systems actionscript 3.0, AS3, fscommand();, quit Flash