Flex - Possible To Select Text Between Multiple RichEditableText Objects?

Aug 15, 2011

For example, say I have 3 RichEditableText objects and I want to be able to highlight them all together:

<s:RichEditableText id="obj_one" width="100%" text="Click and start dragging the highlight here..." selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_two" width="100%" text="Continue dragging the highlight through this one" selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_three" width="100%" text="and keep going and finish highlighting them all right here" selectable="true" editable="false" fontSize="9" />

Is it even possible to make it so all three could be highlighted that way someone could Copy all three at once then past all the text somewhere? I should clarify, The reason they would be like this is because there they are in an itemRenderer so they would each be their own object in each line on the list. It would be nice though if the text could be highlighted and copied like it was all together though. Just imagine the way an end user would expect to be able to drag an highlight any other text in a standard html document to paste elsewhere.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Drag And Select Multiple Objects?

Apr 6, 2010

I am wondering how it is possible to simulate the behaviour like in windows, where you drag on the stage and select all the objects (movieclips) in the drag area, so that you can move them?

View 2 Replies

Flash :: Insert Text At Cursor In A TLF-based Flex Spark RichEditableText?

Oct 8, 2010

I want to programmatically insert formatted text at the current cursor position in a Flex 4 (Spark) RichEditableText control. I could just modify the .text property But that doesn't allow me to insert formatted text. So I believe I need to interact with either .textFlow or .textFlow.interactionManager somehow? However, TLF is quite complex and I can't find a simple way to do what I want.

View 1 Replies

Flex :: Selecting Multiple Text Objects

Oct 5, 2010

Consider there are two text field objects:

TextField1="texta";
TextField2="textb";

Output: texta textb Now I want to select from "ta" in TextField1 to "tex" in TextField2. By the drag of a mouse. I know that by conventional methods it is not possible? Is there any other way to achieve this? And I need to highlight the text also.

View 1 Replies

Actionscript 3 :: Flex - Select Other Objects From A Group?

Sep 17, 2010

I have a group of multiple objects. If I select one object from the group, then i use the method: click="makeObj(event)" And then the function:

[Code]...

View 1 Replies

XML :: Flex E4X - Select Nodes By Multiple Attributes

Jan 6, 2010

<EFM><projects><project name="EFM Columbus Supply Chain Project">
<characteristics><characteristic name="Types of Data">
<textDescription></textDescription><options>
<option name="Commodity Flow" value="True"/>
<option name="Industry Assets" value="False"/>
[Code] .....

I want to select a XMLList of nodes by this criteria
<Projects>.<project>.@name = x &&<Projects>.<project>.<characteristics>.<characteristic>.<options>.<option>.(@name == y && @value == z)
Essentially query by both attributes [name and value] for a given project name

View 2 Replies

Flex :: Select Multiple Items In A DataGrid?

Feb 28, 2011

how to multiple select the datagrid? i can't figure it out.

View 1 Replies

Flex :: Select Multiple Items In Tree Control Without Pressing Ctrl Key?

Mar 4, 2010

I'm trying to modifty the Flex Tree control to allow a user to select multiple items by just clicking each of the desired elements (ie I don't want them to have to press Ctrl or Shift). If the user clicks a selected item a 2nd time, it will deselect it.

View 2 Replies

Actionscript 3 :: Select The Viewstack Container Id Based On Select Field In ComboBox In Flex?

Jun 23, 2010

I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.

<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>

View 1 Replies

Flex :: After Converting A Pdf To Swf - Select Text To Highlight?

Dec 14, 2010

I have used a tool to convert a pdf to a swf but i need to be able to select and hightlight the pdf's contents. How would I do this using flex/action script?

View 1 Replies

Flex :: Selecting Id Of TextArea (despite RichEditableText)

Jun 17, 2010

I'm trying to select the id of a textArea when it's focused in

[Code]...

Problem is TextArea is made up of RichEditableText so target doesn't actually refer to TextArea. I've tried event.target.parent.id but still not getting there. Anyone knows how to get to the bottom of this?

View 2 Replies

Flex 4 RichEditableText With Right Click Menu?

Sep 13, 2011

I need selectable text that can be copied. Some users are used to copy with Ctrl+C (Cmd+C on Mac), and some are used to right click and select "Copy".

Using s:RichEditableText, there is no "Copy" in right click menu: http://d.pr/xWXW. Using mx:Text, there is "Copy" in right click menu, but it doesn't copy anything: http://d.pr/vtiw

Ctrl+C works for both s:RichEditableText and mx:Text.

Is there a property or something to enable "Copy" in right click menu for s:RichEditableText?

View 1 Replies

Flex :: Detect Right Clicks On A RichEditableText?

Oct 21, 2011

I am currently implementing squiggly in a flex application to enable spell checking. Due to certain requirements, I can not use SquigglyUI to hook onto my spark RichEditableText.I have successfully used com.adobe.linguistics.utils.TextTokenizer to tokenize and highlight mispelt words.I would like to be able to let the user rightclick on a mispelled word and show a I have tried to attach a listener to my RichEditableText:

richtexteditor.addEventListener("rightClick", showSuggestions);
And this is my event handler:
private function showSuggestions(event:MouseEvent):void{

[code].....

View 2 Replies

Flex :: Select All And Select None Button With In The Drop Down Of Combobox?

Dec 6, 2011

Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.

View 2 Replies

Flex :: GetCharIndexAtPoint() Equivalent In Spark RichEditableText?

Mar 25, 2010

I want to find a way to get the character index in a Spark based RichEditableText based on mouse x, y position.The mx.controls.TextArea has a protected getCharIndexAtPoint() method but I can't find an equivalent of this in the Spark RichEditableText which is disappointing.

View 3 Replies

Actionscript 3 :: Flex 4: Detect Click Outside Of RichEditableText

Sep 10, 2010

Is there any easy way to detect click outside of RichTextEditable? just like FlexMouseEvent.MOUSE_DOWN_OUTSIDE is used in popups.

View 3 Replies

Flex :: Autosize - RichText/RichEditableText Autosizing?

Mar 21, 2011

In the past, I used the flash.text.textField object something like this:

tf = textField();
tf.autoWrap = true
tf.autoSize = "left"
tf.width = 100;

[Code]...

I'm coding this, so if you have some suggestions, please post them in code, not MXML.

but UITextfield is not a TLF component and the example for RichText does not cause the RichText height to grow with the text. What I need is a component that I can set the width, add TLF formatted text and get the height of the component once it has rendered. Just like a TextField does when you add text.

View 3 Replies

Actionscript :: Stagewebview Cannot Re-select Text Content In IOS Device - Flex 4.6

Jan 31, 2012

Developing APPs on IOS using Flex 4.6 I am displaying parsed epub files into stagewebview. It works fine on the device. However, when I try to add the annotation tool which (likes the ibook annotation), I can only select one single word!! I tried the "Game of Flex" which it did the same way as loading a web content into a stagewebview component, and it cannot have control to select more word as well. Therefore, I think its the current limitation (correct me if there is actually a way to do that in stagewebview) on the stagewebview. So, do you guys have other good ideas to display content as html without the limitation? like use other components, call JS? or use native object-c?

View 1 Replies

Php :: Select Multiple Rows ( AllowMultipleSelection="true" ) In Datagrid Using Flex?

Nov 20, 2009

I have id(array) used in my application.i want to select number of rows mathching given array but if i used gatagrid selected Index then it will be selected only one row only . i set data grid allowMultipleSelection="true" also .. .how can be select mutipule rows in datagrid ?

for(var i:int=0;i<id.length;i++)
{
datagrid.selectedIndex=id[i];
}

View 2 Replies

Flex :: Set Caret Cursor Position In RichEditableText Control?

Dec 1, 2010

Is there a method to set the caret position within a RichEditableText control? The control's contents can contain errors that the user must fix which are navigated though via Next/Previous buttons, and during the navigation I would like to set the caret cursor to the end of each error within the text.

View 1 Replies

Flex :: RichEditableText Component Not Completely Resetting Its View

Mar 1, 2011

I'm experiencing some strange text rendering behavior in the Spark RichEditableText component.

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
[Code] .....

The above application simply navigates through the five sentences in the DATA array (every time the Next button is pressed). For whatever reason, RichEditableText component doesn't completely reset its view (by clearing the previous text) before setting new content. From what I can gather, this faulty rendering is somehow based on the combination of line count and relative width. I also discovered that if I set the width property of the RichEditableText component to an absolute value (say, 100) as opposed to relative (percentage, 100%) the text is rendered correctly. As far as I can see, this behavior is unintended and is, in fact, a bug.

View 1 Replies

Flex :: Tooltip On Image Element Inside RichEditableText

Aug 20, 2011

I have the following:[code]I want to display a tooltip on the img element - haven't figured this one out - ideas anyone?

View 1 Replies

Flex :: RichEditableText SelectionColor - IDE Gives An Error Like This Property Do Not Exist?

Sep 19, 2011

I'm new to flex, actually I'm reading a simple tutorial about Flex 4 (I'm using flash builder 4.5) this is the tutorial.I added a RichEditableText and then I should specify the property selectionColor, but when I add it to the source code, the IDE give me an error like this property do not exist.

<s:RichEditableText x="179" y="95" text="hello" fontSize="24" fontWeight="bold" color="#E52222" selectionColor="#000000" />

View 1 Replies

Flex :: Spark RichEditableText Word Wrap With Percent Width And Fixed Height?

May 11, 2011

I know this question has been asked before but the other solutions didn't work for me quite well. here's my sample application.

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code].....

View 1 Replies

Javascript :: Notifications To Flex On Multiple Objects

Feb 24, 2010

I know that with ExternalInterface, we can register ActionScript functions that will be callable from JavaScript, But i want to register actionscript function for of one class which has multiple instance created in the Application. So how it will recognize which object action script function will called from java script.

[Code]...

View 1 Replies

Flex :: Animate Multiple Objects Within The Same Parallel?

Jul 20, 2010

I have multiple spinning balls that I want to animate altogether. Here's what I have so far but when I play the parallel (spinning.play()), nothing happens.Where am I going wrong?

<fx:Declarations>
<fx:Vector id="kfP1" type="spark.effects.animation.MotionPath">
<s:MotionPath property="baseColor">

[code].....

View 1 Replies

ActionScript 3.0 :: Select All Objects Of A Specified Class?

Mar 29, 2011

Probably a very easy question, but Google and Livedocs are both failing me here. I have a custom class (Which I shall refer to as "Circle"), and simply wish to find each of the "Circle" class, and add them to an array in my Document class. I may also need to perform this task from within other classes.

I've considered having each 'Circle' on creation send a sort of "signal" to the document class for it to add it to an array or vector, but can't figure out how to influence the Events of its Parent class.

View 7 Replies

Professional :: Lines / Objects Select Differently?

Apr 8, 2011

if I drew a line or something, it would just be the line and I could immediately edit the shape. Now, there is a blue box surrounding it. what purpose the blue box serves. However, when this started, my fill stopped working.

I can fill a shape I have hand-drawn, but not when I use the line tool. I have included a screen shot of the blue box surrounding a line. I have assured that all sections of a shape are touching before trying to fill.

View 2 Replies

Flex :: Draw Multiple Graphical Objects In A Spark ItemRenderer Using MXML?

Apr 26, 2011

I would like my spark ItemRenderer to be able to render a varying number of graphical objects that depends on the user input. As an example, let's say that I want to render a set of ellipses on a line.I've been using MXML for my most recent batch of ItemRenderers and have loved every minute of it, but I'm not sure how to accomplish the above goal with an MXML IR. In Actionscript I can acquire the list of ellipses locations and draw them programmatically in the updateDisplayList method. Is there an equivalent in MXML?

View 1 Replies

ActionScript 3.0 :: Select A Random Object From A Number Of Generated Objects?

Dec 13, 2011

How can i select a object at random from 40 generated objects?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved