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
test |
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
private function mouseDownHandler(e:MouseEvent):void | |
{ | |
alignInfo.fadeBack(); | |
xOffset = stage.mouseX - photo.x; | |
yOffset = stage.mouseY - photo.y; | |
minX = 0-(photo.width-679+photoMask.x); | |
minY = 0-(photo.height-468+photoMask.y); |
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
public static const PHOTO_HEIGHT:Number = 432; | |
public static const PHOTO_WIDTH:Number = 642; |
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
public function set assetList(list:Array):void | |
{ | |
_assetList = list; | |
for each (var asset:AssetVO in _assetList) | |
{ | |
if ( asset.alt == "thumb" ) | |
{ | |
var upIcon:String = asset.url; | |
var frame:AssetVO = ArrayUtil.getItemByKeys( _assetList, { id:asset.id, alt:"detail" } ); |
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
public function showPage( n:Number ):void | |
{ | |
patchToolBox.toolPageStack.showLayer( String( n ) ); | |
} |
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 next:Number; | |
if ( !active.index || active.index > 4 ) | |
next = 2; | |
else | |
next = active.index + 1; |
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
case "helpPrev": | |
var previous:Number; | |
if ( !active.index || active.index < 3 ) | |
previous = 5; | |
else | |
previous = active.index - 1; |
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 maxIndex:Number = 5; | |
var minIndex:Number = 2; |
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
// TODO: this code is too fragile. assets should be added to Patchifyer component at startup, and | |
// this command should only show or hide their visibility. consider breaking DisplayHelpCommand | |
// out into a macro with 'ShowHelpPageCommand', 'ShowHelpNav', 'ShowHelpHeader' as subcommands. | |
showAsset("helpBackgroundBlank",0,0,0); | |
showAsset("helpTextTitle",187,50); | |
showCloseButton(); | |
showNavigation(canvas.index); | |
} | |
private function showAsset(image:String, offsetX:Number=0, offsetY:Number=0, setIndex:int=-1):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
delimitMate Report | |
================== | |
* Options: (-) unset, (g) global, (b) buffer | |
(-) delimitMate_apostrophes = '' | |
(-) delimitMate_autoclose = 1 | |
(-) delimitMate_balance_matchpairs = 0 | |
(-) delimitMate_excluded_ft = '' | |
(-) delimitMate_excluded_regions = 'Comment' |
OlderNewer