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
/** | |
* FlxDelay | |
* -- Part of the Flixel Power Tools set | |
* | |
* v1.4 Modified abort so it no longer runs the stop callback (thanks to Cambrian-Man) | |
* v1.3 Added secondsElapsed and secondsRemaining and some more documentation | |
* v1.2 Added callback support | |
* v1.1 Updated for the Flixel 2.5 Plugin system | |
* | |
* @version 1.4 - July 31st 2011 |
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 function dynamicObjectTest():void | |
{ | |
// Namespace works elsewhere, but not on this dynamic object | |
//Exception fault: ReferenceError: Error #1056: Cannot create property custom::prop on Object. | |
var obj:Object = {}; | |
obj.custom::prop = "val"; | |
for (var property:* in obj) |
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
var obj:Object = {"my prop":2}; | |
trace(obj["my prop"]); |
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
compass.rotation = Math.atan2(event.stageY - compass.y, event.stageX - compass.x) * (180/Math.PI) + 90; |
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
[Desktop Entry] | |
Name=FDT5 | |
#Comment= | |
Exec=fdt5 | |
Icon=/opt/fdt5/fdt-icon.png | |
Terminal=false | |
Type=Application | |
StartupNotify=true | |
Categories=GNOME;Application;IDE; |
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 | |
{ | |
import flash.utils.getTimer; | |
import flash.text.TextFieldAutoSize; | |
import flash.text.TextField; | |
import flash.events.MouseEvent; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
public class Main extends Sprite |
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
//Users can add tasks at ANY time, | |
// but they are only removed after they are finished | |
var tasks:Vector.<Task>; | |
var currentTask:Task; | |
function nextTask():void | |
{ | |
//Remove the first task from the list | |
currentTask = tasks.shift(); | |
} |
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'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4287406376578749857.archive</id><updated>2012-01-19T02:44:22.086-06:00</updated><category term='images'/><category term='flash'/><category term='solution'/><category term='setChildIndex'/><category term='development'/><category term='965'/><category term='soy tu aire'/><category term='ponycorns'/><category term='offline'/><category term='events'/><category term='reply'/><category term='adobe'/><category term='responds'/><category term='DisplayObject'/><category term='war'/><category term='volumeknob'/><category term='k2'/><category term='iqanderas'/><category term='set'/><category term='not'/><category term='player'/><category t |
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
// Snippet from class BlockReed.java | |
/** | |
* Ticks the block if it's been scheduled | |
*/ | |
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) | |
{ | |
if (par1World.isAirBlock(par2, par3 + 1, par4)) | |
{ | |
int i; |
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
[ERROR]: java.io.FileNotFoundException: .SWFViewerCheck (No such file or directory) | |
[ERROR]: at java.io.FileInputStream.open(Native Method) | |
[ERROR]: at java.io.FileInputStream.<init>(FileInputStream.java:137) | |
[ERROR]: at java.io.FileReader.<init>(FileReader.java:72) | |
[ERROR]: at com.powerflasher.swfViewer.SWFViewer.readPort(SWFViewer.java:136) | |
[ERROR]: at com.powerflasher.swfViewer.SWFViewer.getConnection(SWFViewer.java:96) | |
[ERROR]: at com.powerflasher.swfViewer.SWFViewer.start(SWFViewer.java:31) | |
[ERROR]: at com.powerflasher.swfViewer.SWFViewer.main(SWFViewer.java:26) | |
[STDOUT]: No Socket. | |
[STDOUT]: # |
OlderNewer