[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How to position a blinking cursor on right click same as left click on TextLayout Framework

Asked by SajanIndia in Adobe Flex, ActionScript, Adobe GoLive HTML Editor, Scripting Languages

Tags: Adobe Flex, AIR, ActionScript 3, TextLayour Framework

The scenerio goes like this:
I have a HBOX as parent having Sprite(textContainer) as its child. And
var _controller : IContainerController = new DisplayObjectContainerController(_textContainer, _hboxTarget.width, _hboxTarget.height)

this controller is added to flowcomposer as
_textFlow.flowComposer.addController(_controller);

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.
[+][-]11/01/09 10:13 PM, ID: 25717355Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 10:49 AM, ID: 25732098Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/03/09 10:49 AM, ID: 25732099Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/07/09 12:41 PM, ID: 25767947Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/09/09 10:10 AM, ID: 25778417Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/22/09 07:51 AM, ID: 25882334Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625