/ Published in: ActionScript 3

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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;
Comments
