The scenerio goes like this:
I have a HBOX as parent having Sprite(textContainer) as its child. And
var _controller : IContainerController = new DisplayObjectContainerCont
roller(_te
xtContaine
r, _hboxTarget.width, _hboxTarget.height)
this controller is added to flowcomposer as
_textFlow.flowComposer.add
Controller
(_controll
er);
In the textflow I have text with inline graphics.
My requirement goes like this:
As on left click I get the blinking cusor at that position, I think it is its default behaviour. I need the same functionality on right click i.e. the cursor should blink where I have right clicked.
I tried to dispatch the following events on right mouse down:
1) Dispatch mouse click event of sprite.
2) Dispatch FlowElementMouseEvent click of textflow. It says no click event.
I need:
Get the position or the index where the cursor should blink.