This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Show the compile date of a SWF. | |
See http://wahlers.com.br/claus/blog/undocumented-swf-tags-written-by-mxmlc/ | |
--> | |
<s:Application | |
xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
minWidth="600" minHeight="400" |
This file contains 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
/* | |
Implements different bin packer algorithms that use the MAXRECTS data structure. | |
See http://clb.demon.fi/projects/even-more-rectangle-bin-packing | |
Author: Jukka Jylänki | |
- Original | |
Author: Claus Wahlers | |
- Ported to ActionScript3 |
This file contains 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
// Draws the first glyph of the first embedded font in a SWF | |
// Visualizes on and off curve points | |
import com.codeazur.as3swf.SWF; | |
import com.codeazur.as3swf.tags.TagDefineFont3; | |
import com.codeazur.as3swf.exporters.AS3GraphicsDataShapeExporter; | |
import flash.display.IGraphicsData; | |
import flash.display.GraphicsPath; | |
import flash.display.GraphicsPathCommand; | |
import flash.geom.Point; |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Convert HTML to XML and use E4X to access DOM (AIR required) --> | |
<s:WindowedApplication | |
xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
creationComplete="creationCompleteHandler(event)"> | |
<fx:Script> | |
<![CDATA[ |
This file contains 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
/** | |
* | |
* | |
* ScaleBitmap | |
* | |
* @author Didier Brun | |
* @author Jerôme Decoster | |
* @author Simon Richardson | |
* @version 1.2 | |
* |
This file contains 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 org.osflash.signals | |
{ | |
/** | |
* The SignalBindingList class represents an immutable list of SignalBinding objects. | |
* | |
* @author Joa Ebert | |
* @private | |
*/ | |
public final class SignalBindingList | |
{ |
This file contains 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 utils | |
{ | |
import flash.display.DisplayObject; | |
import flash.display.DisplayObjectContainer; | |
import flash.utils.getQualifiedClassName; | |
/** | |
* | |
*/ | |
public function describeDisplayList(displayObject : DisplayObject) : XML |
This file contains 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 | |
{ | |
public class AsciiTable | |
{ | |
public static const table : Vector.<String> = Vector.<String>([ | |
'NUL', | |
'SOH', | |
'STX', |
This file contains 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
function RGBtoRGBA(r, g, b){ | |
(g==void 0) && (typeof r == 'string') && | |
(r = r.replace(/^\s*#|\s*$/g, ''), | |
(r.length == 3) && (r = r.replace(/(.)/g, '$1$1')), | |
g = parseInt(r.substr(2, 2), 16), | |
b = parseInt(r.substr(4, 2), 16), | |
r = parseInt(r.substr(0, 2), 16)); | |
var min, a = ( 255 - (min = Math.min(r, g, b)) ) / 255; |
This file contains 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
import flash.html.HTMLLoader; | |
var content : String = '<!DOCTYPE html>\ | |
<head>\ | |
<style>\ | |
@-webkit-keyframes pulse {\ | |
0% {\ | |
background-color: red;\ | |
opacity: 1.0;\ | |
-webkit-transform: scale(1.0) rotate(0deg);\ |
OlderNewer