Papervision3D | 3d engine | http://blog.papervision3d.org/
Away 3D | 3d engine | http://www.away3d.com/
| // 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: |
Papervision3D | 3d engine | http://blog.papervision3d.org/
Away 3D | 3d engine | http://www.away3d.com/
| 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) |
| /* | |
| * To try it: | |
| * c = $c.sRGB8(23,58,32); | |
| * c.Lab(); | |
| * c.Lab().sRGB8(); | |
| */ | |
| var $c = {}; | |
| ( | |
| function () { |
| // 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 |
| 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 |
| 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/ |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| { | |
| "version": "0.1.0", | |
| "command": "asjsc", | |
| "isShellCommand": true, | |
| "args": ["src/Main.as"], | |
| "showOutput": "always", | |
| "problemMatcher": | |
| { | |
| "fileLocation": "absolute", | |
| "pattern": |