Question
Runtime error in SelectionManager.computeSelectionIndex with fix
Hi, I have a runtime error in SelectionManager.computeSelectionIndex,
and I don't know who to contact about it.
It happens when I have selectable text created using TLF and also text created using FTE at the same time
and i assign custom data do the "userData:*" property of the text lines I created with FTE directly.
This is the line of code that cause the error in the SelectionManager:
var tfl:TextFlowLine = TextLine(target).userData;
Throws a TypeError: Error #1034 when i roll over the textlines created using FTE.
Fix suggestion:
var tfl:TextFlowLine = TextLine(target).userData as TextFlowLine;
I posted a bug report but i don't know if it was the best place to post it:
https://bugs.adobe.com/jira/browse/SDK-22792
Thanks,
Steve Brisebois
Scolab Inc.
sbrisebois@scolab.com
