例えば、buttonの左辺をcontainer viewから20ポイント離す場合
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.geom.Matrix3D; | |
import flash.display3D.IndexBuffer3D; | |
import net.hires.utils.Stats; | |
import com.adobe.utils.AGALMiniAssembler; | |
import flash.display.Sprite; | |
import flash.display.Stage3D; |
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"?> | |
<!-- | |
/** | |
*============================================================ | |
* copyright(c) 2011 www.romatica.com | |
* @author itoz | |
* 2011/03/08 | |
*============================================================ | |
* android wallpaper manifest.xml template. | |
* アンドロイドライブ壁紙用 マニフェスト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
/** | |
*============================================================ | |
* copyright(c) 2011 www.romatica.com | |
* @author itoz | |
* 2011/03/05 | |
*============================================================ | |
*/ | |
package ****.****.*****; | |
import android.content.res.Resources; |
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
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp import util | |
from google.appengine.ext import db | |
import wsgiref.handlers | |
from net.glassesfactory.models import AMFImgData | |
from pyamf.remoting.gateway.wsgi import WSGIGateway | |
class MainHandler(webapp.RequestHandler): | |
def get(self): |
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
efo = EnterFrameObserver = window.EnterFrameObserver = (fps)-> | |
@fps = fps | |
@listeners = {} | |
@listenerNum = 0 | |
@ticker = null | |
@isRunning = false | |
EnterFrameObserver.prototype.add = (listener)-> | |
if efo.isRunning | |
return |
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
// CS5では、FLAに同じフォントを指定したテキストフィールドが含まれていると、埋め込みフォントとコンフリクトを起こして埋め込みフォントが表示されなくなる。 | |
// リンケージ名でnew | |
var embedFont:Font = new HiraginoKakuGoProW3DF3(); | |
// 利用できる埋め込みフォントを確認 | |
var _fonts:Array = Font.enumerateFonts(); | |
for each (var i:Font in _fonts){ | |
// フォント名を出力 | |
trace(i.fontName); |
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 fdt.FdtTextEdit; | |
import swf.bridge.FdtEditorContext; | |
import swf.bridge.IFdtActionBridge; | |
import swf.plugin.ISwfActionPlugin; | |
import flash.display.Sprite; | |
import flash.utils.Dictionary; |
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
/** | |
* zipファイルをダウンロードしてメモリ上に非同期展開する | |
* | |
* var loader:ZipLoader = new ZipLoader(); | |
* loader.addEventListener(ZipLoaderEvent.COMPLETE, completeHandler); | |
* loader.addEventListener(ZipLoaderEvent.ERROR, errorHandler); | |
* loader.addEventListener(ZipLoaderEvent.EXECUTED, executedHandler); | |
* loader.load("http://path_to.zip"); | |
* | |
* function completeHandler(event:ZipLoaderEvent):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
package | |
{ | |
import flash.display.Loader; | |
import flash.net.URLRequest; | |
import flash.net.URLStream; | |
import flash.events.IOErrorEvent; | |
import flash.events.SecurityErrorEvent; | |
import flash.events.Event; | |
import flash.utils.ByteArray; | |
import flash.utils.Endian; |
OlderNewer