Revision: 25232
Updated Code
at March 24, 2010 05:37 by LeeProbert
Updated Code
var linkStart:int = link.getAbsoluteStart(); var linkEnd:int = linkStart+link.textLength; var textFlowLine:TextFlowLine = textFlow.flowComposer.findLineAtPosition(linkStart); var lineStart:int = textFlowLine.absoluteStart; var isStartOfLine:Boolean = linkStart==lineStart;
Revision: 25231
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 24, 2010 05:37 by LeeProbert
Initial Code
var linkStart:int = link.getAbsoluteStart(); var linkEnd:int = linkStart+link.textLength; var textFlowLine:TextFlowLine = textFlow.flowComposer.findLineAtPosition(linkStart); var lineStart:int = textFlowLine.absoluteStart; var isStartOfLine:Boolean = linkStart==lineStart;
Initial URL
Initial Description
Initial Title
Finding the position of an element within a TextFlow
Initial Tags
textmate, text, layout
Initial Language
ActionScript 3