“FlashPlatfrom Usage”的版本间的差异

来自Blueidea
跳转至: 导航搜索
(以内容“如何使用Flash platform分類下的代碼和資源。 代碼: 筆者編寫著重在理論上的參考和技術實踐的最佳結合點。因此多數情況下...”创建新页面)
 
第1行: 第1行:
 
如何使用Flash platform分類下的代碼和資源。
 
如何使用Flash platform分類下的代碼和資源。
  
  代碼:
+
代碼:
  筆者編寫著重在理論上的參考和技術實踐的最佳結合點。因此多數情況下不會在一個代碼段中寫完一個條目的所有代碼。
+
筆者編寫著重在理論上的參考和技術實踐的最佳結合點。因此多數情況下不會在一個代碼段中寫完一個條目的所有代碼。
  而是分拆來逐條呈現。比如這樣
+
而是分拆來逐條呈現。比如這樣
  <syntaxhighlight_lang="actionscript">
+
<syntaxhighlight_lang="actionscript">
 
/*
 
/*
 
~~ Blueidea wiki [Category:Flash platform]~~
 
~~ Blueidea wiki [Category:Flash platform]~~
第22行: 第22行:
 
   } // <- end class ->
 
   } // <- end class ->
 
}
 
}
  </syntaxhighlight>
+
</syntaxhighlight>
  
  <syntaxhighlight_lang="actionscript">
+
<syntaxhighlight_lang="actionscript">
 
/**
 
/**
 
  * ${1}
 
  * ${1}
第30行: 第30行:
 
stage.align = StageAlign.TOP_LEFT;
 
stage.align = StageAlign.TOP_LEFT;
 
stage.scaleMode = StageScaleMode.NO_SCALE;
 
stage.scaleMode = StageScaleMode.NO_SCALE;
  </syntaxhighlight>
+
</syntaxhighlight>

2011-04-13T17:59:31的版本

如何使用Flash platform分類下的代碼和資源。

代碼: 筆者編寫著重在理論上的參考和技術實踐的最佳結合點。因此多數情況下不會在一個代碼段中寫完一個條目的所有代碼。 而是分拆來逐條呈現。比如這樣 <syntaxhighlight_lang="actionscript"> /* ~~ Blueidea wiki [Category:Flash platform]~~ www.blueidea.com

  • /

package {

 import flash.display.Sprite;
 /**
  * The Test class.
*/ public class Test extends Sprite { /** Constructor */ public function Test() { // ${1} } } // <- end class ->

} </syntaxhighlight>

<syntaxhighlight_lang="actionscript"> /**

* ${1}
*/

stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; </syntaxhighlight>