• flickr
  • linkedin
  • twitter
  • rss

Tech

try / catch

try / catch

Try and catch is most handy for handling files with AIR etc. Pretty straightforward, but just incase you forget the…
Datagrid – delete selected row

Datagrid – delete selected row

Again, this is all just SelectableList behaviours but how often does anyone use datagrids to remember this?! dataGrid.removeItemAt(dataGrid.selectedIndex); http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/controls/SelectableList.html
Get frame number from label AS3

Get frame number from label AS3

function getFrameByLabel(yourMovieClip:MovieClip, frameLabel: String ):int { var scene:Scene = yourMovieClip.currentScene; var frameNumber:int = -1; for( var i:int ; i <…
TweenMax tween curves

TweenMax tween curves

import com.greensock.TweenMax; import com.greensock.plugins.BezierPlugin; import com.greensock.plugins.BezierThroughPlugin; TweenMax.to(sp,5,{bezierThrough:[{x:250,y:100},{x:50,y:200},{x:500,y:200}]}); Man TweenLite/TweenMax is awesome.
5 of 14
123456789