You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==Get FlashVars==
assuming your commandline scope is Stage or a DisplayObject
{{{
$C.inspect(loaderInfo.parameters)
}}}
==Reduce frame rate==
assuming your commandline scope is Stage or a DisplayObject
(replace 5 with your own choice)
{{{
stage.frameRate = 5
}}}
==Log key presses==
assuming your commandline scope is Stage or a DisplayObject
{{{
stage.addEventListener(flash.events.KeyboardEvent.KEY_DOWN, $C.log)
}}}
Key presses while focused on command line will be ignored as it has Event.stopPropagation().
==Copy to clipboard==
(replace $returned with a variable/string you want to save)
{{{
flash.system.System.setClipboard($returned)
}}}
==Maths==
Simple: 10-(5/2)
Assignment: stage.frameRate *= 1.5
Advanced: (90*Math.PI)/180 - _ 90 degree in radians _