Flash Art, Algorithm Art, Generative Images etc

November 11th, 2009

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 , , ,

3D Flash Ribbons examples, code etc (PV3D and Flash 10)

November 4th, 2009

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 , , , , , ,

Do you need to access a class without knowing its name and using a variable? getChildByName for Classes is getDefinitionByName!

September 24th, 2009

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 , , ,

Star background particle system

July 3rd, 2009

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 , , , , ,

Deeplinking in Flash – through SWF Address

June 17th, 2009

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 , ,

Have a Flash website where the width and/or height is changing? Need the browser to know the size of the Flash SWF so that the scrollbars change? Then you need SWFfit!

June 17th, 2009

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 , , ,

String Manipulation – Need to split a string? to convert a lowercase word to have a capital letter? cut the file type off a string?

June 17th, 2009

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 , , , , , , ,

Flash ActionScript 3.0 System.totalMemory ~ want to find out how much memory your Flash website or application uses?

April 7th, 2009

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 , , ,

The flash.system Capabilities Class ~ want to find out the users language? if they have printer support? operating system? resolution? memory used by Flash?

April 7th, 2009

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 , , , , , , ,

fscommand(); ~ want to quite a standalone Flash player or pass variables to Director or JavaScript?

April 7th, 2009

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 , , ,