- http://www.libspark.org/wiki/scratchbrain/AverageColor | AverageColor | A util-class to calculate the average between 2 colors (Hex, RGB or HSB format).
- http://www.libspark.org/wiki/nutsu/Frocessing/en | Frocessing | AS3 drawing library similar to Processing.
- http://www.libspark.org/wiki/gunyarapaint | gunyarapaint | Painting component for picture blog.
- http://www.libspark.org/wiki/trick7/TeraFire | TeraFire | Fire effect, useful to render animated candles or stoves.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package src.Lib | |
| { | |
| /** | |
| * Enumerable.as | |
| * @version Dated 6 July 2011 | |
| * --------------- | |
| * Faux enumerations in Actionscript. Done through code reflection and static initializers. | |
| * | |
| * Adapted from: | |
| * http://scottbilas.com/2008/06/01/faking-enums-in-as3/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| itemArray = fl.getDocumentDOM().library.items; | |
| fl.trace(itemArray.length + ' items in library'); | |
| var it, n = 0; | |
| for( var i=0; i< itemArray.length; i++ ) | |
| { | |
| it = itemArray[i]; | |
| if ( it.itemType == 'movie clip' | |
| && it.linkageClassName != undefined |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // UPDATE: For latest code, see https://github.com/cstrahan/Showdown.as | |
| // | |
| // Showdown.as -- An ActionScript port of showdown.js | |
| // | |
| // Copyright (c) 2010 Charles Strahan. | |
| // | |
| // Original Showdown Copyright (c) 2007 John Fraser. | |
| // <http://attacklab.net/showdown/> | |
| // | |
| // Original Markdown Copyright (c) 2004-2005 John Gruber |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * To try it: | |
| * c = $c.sRGB8(23,58,32); | |
| * c.Lab(); | |
| * c.Lab().sRGB8(); | |
| */ | |
| var $c = {}; | |
| ( | |
| function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package | |
| { | |
| import flash.geom.ColorTransform; | |
| public class ColorUtil | |
| { | |
| /** | |
| * RGBColorTransform Create an instance of the information. | |
| * @ Param rgb RGB integer value that indicates (0x000000 - 0xFFFFFF) | |
| * @ Param amount of fill adaptive value (0.0 - 1.0) | |
| * @ Param alpha transparency (0.0 - 1.0) |
Papervision3D | 3d engine | http://blog.papervision3d.org/
Away 3D | 3d engine | http://www.away3d.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Embed types for AS3 & Flex | |
| /* | |
| Note, mxmlc recognizes your src folder "Default Package" as '/' (root) when using: | |
| [Embed], source="@Embed('')" or @font-face tags. | |
| For example... if your assets folder is a sibling of the src folder, you access using | |
| the slightly odd path: |
NewerOlder