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.Dictionary; | |
import starling.animation.IAnimatable; | |
import starling.core.Starling; | |
/** | |
* 方法队列调用 | |
* | |
* @example |
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 doc = fl.getDocumentDOM(); | |
var library = null; | |
var items = null; | |
var itemLen = null; | |
var item = null; | |
run(); | |
function run() | |
{ |
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 doc = null; | |
var flaPath = null; | |
var outputPath = null; | |
var recursiveSearch = true; | |
var suffix = "fla"; | |
run(); | |
function run() | |
{ |
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
#include <stdio.h> | |
#include <stdlib.h> | |
char* concatstr(char*, char*); | |
int strlen(char*); | |
int strend(char*, char*); | |
//K&R的c语言指针章节练习题 | |
int main(void) | |
{ |
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 doc = fl.getDocumentDOM(); | |
//symbol type constant | |
var movieclipType = "movie clip"; | |
var folderType = "folder"; | |
var bitmapType = "bitmap"; | |
var soundType = "sound"; | |
//prefix | |
var mcPrefix = "ui"; |
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 Foundation | |
"use xcode's playground" | |
/** | |
* port as3 to swift | |
* http://www.anotherearlymorning.com/2009/06/trie-data-structure-in-actionscript-3/ | |
* http://www.emanueleferonato.com/2009/07/13/trie-data-structure-in-actionscript-3/ | |
* |
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
// | |
// TransitionManager.swift | |
// SwiftScreenMotionTips | |
// | |
//@see http://mathewsanders.com/animated-transitions-in-swift/ | |
import UIKit | |
import Darwin //contain pi's constant | |
class TransitionManager: NSObject, UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate { |
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
// | |
// ViewController.swift | |
// SwiftMotionPrototypeTips | |
// | |
// @see http://mathewsanders.com/prototyping-iOS-iPhone-iPad-animations-in-swift/ | |
import UIKit | |
class ViewController: UIViewController { |
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
Monster Debugger is released under the GNU General Public License. | |
and GrantSkinner's document said this license is a "viral" license, | |
and our project use the debug tool, so... |
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
/** | |
* | |
* all code in timeline | |
* bitmapbutton test | |
* | |
* our project use raw bitmap to install button, so more btn resource is repeat | |
* use ScaleBitmap to reuse resource(like movieclip's scale9Grid) | |
*/ | |
import org.bytearray.display.ScaleBitmap; | |
import org.bytearray.display.ScaleBitmapSprite; |
OlderNewer