Please help deleting text

Hi,
I want to know if it is possible to select a RichEditableText on my canvas and delete it by clicking on the delete key on my keyboard.
This is the code for my text fields:
<s:Group 
width="630" height="394" x="0" y="0">  
<s:RichEditableText id=
MyAddress"text="
my address here" fontSize="
12"mouseDown="MyAddress.startDrag();"
mouseUp="MyAddress.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
114" y="64" fontFamily="Verdana" textAlign="right" 
/>
<s:RichEditableText id="
MyWebsite"text="
my website here" fontSize="
12"mouseDown="MyWebsite.startDrag();"
mouseUp="MyWebsite.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
115" y="158" fontFamily="Verdana" textAlign="right"/>
<s:RichEditableText id="
MyPhone"text="
my phone here" fontSize="
12"mouseDown="MyPhone.startDrag();"
mouseUp="MyPhone.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
125" y="82" fontFamily="Verdana" textAlign="right"/>
<s:RichEditableText id="
MyFax"text="
my fax here" fontSize="
12"mouseDown="MyFax.startDrag();"
mouseUp="MyFax.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
146" y="99" fontFamily="Verdana" textAlign="right"/>
<s:RichEditableText id="
MyMobile"text="
my mobile here" fontSize="
12"mouseDown="MyMobile.startDrag();"
mouseUp="MyMobile.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
124" y="116" fontFamily="Verdana" textAlign="right"/>
<s:RichEditableText id="
MyEmail"text="
my email here" fontSize="
12"mouseDown="MyEmail.startDrag();"
mouseUp="MyEmail.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
132" y="133" fontFamily="Verdana" textAlign="right"toolTip = "
you can drag me around or click inside me to enter your email here" 
/>
<s:RichEditableText id="
MyName"text="
my name here" fontSize="
24"mouseDown="MyName.startDrag();"
mouseUp="MyName.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
x="
50" y="23" fontFamily="Verdana" textAlign="right"toolTip = "
you can drag me around or click inside me to enter your name here"/>
<mx:Image x="319" y="
292" source="
@Embed('images/your_logo.png')"mouseDown="img.startDrag();"
mouseUp="img.stopDrag();"
mouseOut="resetHandler(event)"
mouseOver="clickHandler(event)"
id="
img"toolTip = "
you can drag me around :-)"complete="smoothImage(event)" smoothBitmapContent="
true"/>
</s:Group>

Just create a HGroup for each RichEditableText that also contains the "x".  Then add a click handler to the x that does something like removeElement(hGroup1)
Where hGroup1 is the HGroup that contains the RochEditableText and the x.
HTH;
Amy

Similar Messages

  • PLEASE HELP - deleted sms

    Hi,
    I desperately need help, or a phone number to bb so they can help me! My bb smartphone 8110 keeps deleting my sms messages on it's own. It's really annoying, and I've checked the validity period - it's on max, so I cannot find any reason for why it keeps deleting everything. Please help, as I have lost some messages that I wanted to keep. It's the second time this week it's deleted my messages!!!
    Eva

    If you don't already have a memory chip, then thats the reason.
    Blackberrys cant hold alot of memory so when it gets too full it will start deleting text, email, anything that it thinks is unncessary.
    If you DO have a memory chip then I dont know whats wrong.
    You could try and take it to the alltel store.

  • Please Help stop Texts

    Does anyone knoe how to stop texts from 11=801=222=2269 I finally went to a android phone after years of just a simple phone but since have got over 100texts from this number and have not even had the phone 24hours yet ,any help would be great

        Hi, shawnmax!
    Lets take a look into this for you so you can begin enjoying your new Android device! Did you use Mobile Email on your previous device? If you are still receiving these text, please try to reply with the word STOP to disable these messages. If they persists, please send me (AdamE_VZW) a direct message for further assistance.
    Thanks,
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • Please help- adding text/titles to a clip

    I hope someone here can help me!
    I seem to have this problem continuously, and have previously worked around it, but it's giving me the s**ts.
    Here's the scenario- I want to add text OVER a clip, not on black.
    Sounds simple right?
    NOPE! I do the preview- yup it's over the clip.
    I click add, or drag it, or click the tick in the preview.
    As it's rendering- yup, shows it over the clip.
    But as soon as it STOPS- all of a sudden it's just text on black.
    I've tried using different sorts of titles (from music to subtitles, everything) but the exact same thing happens- preview is fine, as it renders it looks fine, but it ends up being text on black. (Yes, I have 'on black' unchecked).
    I also tried adding it in different ways, ie adding at the playhead or dragging it in- no difference.
    Am I missing something vitally obvious here? How can I get my text OVER the clip?

    Hi
    a. to add text - the text tool has to know where. Just placing playhead will not
    work. The text tools orients after clip cuts. You need to do a cut where the text
    is supposed to start.
    b. I guess that deleting pref file might get iMovie to behave.
    Not knowing the origin to Your problem - General approach when in trouble is as follows:
    Many possible origins. Most common:
    • Free space on internal (start-up) hard disc if it is less than 10Gb should rather have 25Gb
    • Hard disc is untidy: Repair Permissions, Repair Hard disc (Apple Disc Util tool)
    • Delete iMovie pref file - or rather start a new user/account - log into this and re-try
    • Third party plug-ins that doesn't work OK
    • Program miss-match: iMovie 5.0.2, Mac OS X.4.11 AND QuickTime 7.4 - is OK
    iMovie pref file resides: Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences
    and is named: com.apple.iMovie.plist
    While iMovie is NOT RUNNING - move this file out to desk-top.
    Now restart iMovie.
    Yours Bengt W

  • Please help with text boxes

    Can somebody help me wit hmy problem. I have a fom with many tables in it, some cells of the table are text boxes or at least they were when I developed it. Now I need to edit some of the cells and for some reason I cannot do it as the cell is not a text box but became (untitled<draw>) I cannot change its type back to text. Can some one advise what to do whitouh retyping text again in the new cell.
    Many thanks in advance

    You are welcome!
    I have a preference for Javascript (just get in the syntax zone) and use it for most things (except dates).
    As you know:
    this = current object
    rawValue = accesses the value of object
    From an Excel point of view FormCalc is similar and has inbuilt function like sum(), Max(), etc. Syntax is $ for current object and you don't need the rawValue. This is very handy when summing a column in a repeating table. Also FormCalc is excellent for working with time and dates. (not that you can't work around in Javascript, but it is heavier).
    Adobe have a very good reference for FormCalc at http://www.adobe.com/go/learn_lc_formCalc_82 and I would recommend that to you. I think it comes from the LC help file, but is easier to use.
    From a performance point of view, you can either have FormCalc in the calculate event of an object, which looks back at other fields (this will fire each time one of these fields changes). Alternatively you can have the FormCalc in the exit event of a field, which pushes a calculation/value forward to another object.
    Functions are handy if you have a script that you are using several times in a form. You write the script in a "script variable" and then call it in the objects events. HOWEVER, script variables are available in Javascript only.
    One last thing is that if you have a constant (like VAT), then rather than including  "* 0.21" in all of your calculations, use a global variable in the Form / Properties / Variables tab. currentVat = 0.21. Then in your calculations would be "* currentVat.value". If the VAT rate changes then you only have to change it in one location.
    In summary FormCalc is more akin to Excel; just watch the syntax.
    Good luck,
    Niall

  • Please help with text problem

    I am new to photoshop.  While going through one of the basic video tutorials, I came to the section where is says to add text.  I followed instructions, but can't see what I type.  My cursor looks different than the one in the video when I click into the layer with the text tool too.  I have a small square dot.  The video shows a normal text cursor, as you'd find in Illustrator.
    If I type something and click enter, it replaces the name of the layer, but is still not visible in the image.  The layer displays as a text layer.  What am I doing wrong?  Thanks.
    Chris.

    You mentioned you are new to Photoshop. When using the Type tool if, instead of clicking, you click with a tiny drag to the click you will see this symbol:
    Just delete it and try again. Good luck and welcome to Photoshop

  • Please Help with text parsing problem

    Hello,
    I have the following text in a file (cut and pasted from VI)
    12 15 03 12 15 03 81 5 80053 1 1,2,3 $23.00 1 ^M
    12 15 03 12 15 03 81 5 84550 1 1,2,3 $15.00 1 ^M
    12 15 03 12 15 03 81 5 84100 1 1,2,3 $15.00 1 ^M
    12 15 03 12 15 03 81 5 83615 1 1,2,3 $15.00 1 ^M
    12 15 03 12 15 03 81 5 82977 1 1,2,3 $15.00 1 ^M
    12 15 03 12 15 03 81 5 80061 1 1,2,3 $44.00 1 ^M
    12 15 03 12 15 03 81 5 83721 1 1,2,3 $15.00 1 ^M
    12 15 03 12 15 03 81 5 84439 1 1,2,3 $44.00 1 ^M
    12 15 03 12 15 03 81 5 84443 1 1,2,3 $40.00 1 ^M
    12 15 03 12 15 03 81 5 85025 1 1,2,3 $26.00 1 ^M
    12 15 03 12 15 03 81 5 85008 1 1,2,3 $5.00 1 ^M
    this method reads the text from a file and stores it in a ArrayList
        public ArrayList readInData(){
            File claimFile = new File(fullClaimPath);
            ArrayList returnDataAL = new ArrayList();
            if(!claimFile.exists()){
                System.out.println("Error: claim data - File Not Found");
                System.exit(1);
            try{
                BufferedReader br = new BufferedReader(new FileReader(claimFile));
                String s;
                while ((s = br.readLine()) != null){
                         System.out.println(s + " HHHH");
                        returnDataAL.add(s);
            }catch(Exception e){ System.out.println(e);}
            return returnDataAL;
        }//close loadFile()if i print the lines from above ... from the arraylist ... here is waht i get ...
    2 15 03 12 15 03 81 5 80053 1 1,2,3 $23.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 84550 1 1,2,3 $15.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 84100 1 1,2,3 $15.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 83615 1 1,2,3 $15.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 82977 1 1,2,3 $15.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 80061 1 1,2,3 $44.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 83721 1 1,2,3 $15.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 84439 1 1,2,3 $44.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 84443 1 1,2,3 $40.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 85025 1 1,2,3 $26.00 1 HHHH
    HHHH
    12 15 03 12 15 03 81 5 85008 1 1,2,3 $5.00 1 HHHH
    HHHH
    I see the ^M on the end of the lines ... but i dont understand why im getting the blank lines
    in between each entry ... I printed "HHHH" just to help with debugging ... anyone have any ideas why i am getting the extra blank lines?
    thanks,
    jd

    maybe its a FileReader deal.. Im not sure, maybe try using InputStreams. This code works for me (it reads from data.txt), give it a try and see if it works:
    import java.io.*;
    public class Example {
         public Example() throws IOException {
              BufferedReader b = new BufferedReader(new InputStreamReader(new FileInputStream("data.txt")));
              String s = "";
              while ((s = b.readLine()) != null) {
                   System.out.println(s);
              b.close();
         public static void main(String[] args) {
              try {
                   new Example();
              catch (IOException e) {
                   e.printStackTrace();
    }

  • Hi, please help about text and divided/summed cells

    Here's my problem: I need that the text in a cell exceeds the right border of it, and this work ok by default.
    But when you sum or divide even only a pair of cells, in all the cells of that column the text is forced into the borders.
    I need to make a sheet of my guests (I work in a hotel), and the plan is this:
    - every column is a day of the calendar
    - every room has a row, to text in the Name of the guest and some useful info about the room type, a different color for different travel agency etc. Note that for me is very useful to read easily that info, and so the fact that the text goes in the next cells is a must have.
    For the next season I was managing to complete this registry adding a new row for each room, where to put in some numerical info, for doing sums of the people I have in day per day ect.
    So I was plannig to divide every cell of the second row in two cells, one for the adults in the room, one for the kids, in order to have the sum.
    But when I had the second row and divide the cells the text in the upper row is forced into the cell, and also all the text in that column.
    Anyone who can help me?
    Thank you in advance,
    Stefano

    Here's an example, with three different ways to shot the daily total.
    Totals for Jan 1 are shown in the three footer rows. Each is independent of the others, and only one would be used in practice.
    Form A is a simple sum of the column: =SUM(B)
    Form B separates the integer and fractional parts of the total, then recombines them into a text string:
    =INT(SUM(B))&"A "&ROUND(100*(SUM(B)-INT(SUM(B))),0)&"C"
    Form C does a similar separation, but treats the SUM result as a text string:
    =LEFT(SUM(B),LEN(SUM(B))-3)&"A "&RIGHT(SUM(B),2)&"C"
    Note that the daily counts are entered as # of adults, decimal, # of children (using two digits)
    Formulas will accommodate any number of adults, and up to 99 children (total). For a higher total, revisions to the entry method (one more digit after the decimal—2.001 in place of 2.01) and to Form B (replace 100 with 1000) OR Form C formulas (replace SUM(B),2 with SUM(B),3 ).
    Regards,
    Barry

  • Please help! Text format disappear after upgrade to vs2005

    Post Author: oim
    CA Forum: General
    So I upgraded my VS2003 crystal version 10  C# code to VS2005 but the compiler gave me this error: 'CrystalDecisions.Shared.ExportFormatType' does not contain a definition for 'Text'     the ExportFormatType enum now only has        NoFormat = 0,        CrystalReport = 1,        RichText = 2,        WordForWindows = 3,        Excel = 4,        PortableDocFormat = 5,        HTML32 = 6,        HTML40 = 7,        ExcelRecord = 8, How do I get the Text format back? Thanks a lot!  

    Try deleting the .plists for Adobe Acobat.
    Quit the application.
    You need to look in your user Library/Preferences for the .plist. Either hold down the option key while using the Finder “Go To Folder” command and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Preferences.  Move the .plist(s) to your desktop.
    Open the application and test. If it works okay, delete the plist(s) from the desktop.
    If the application is the same, return the .plist(s) to where you got them from, overwriting the newer ones.
    If you prefer to make your User library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I have to use it again after every update. I have also been informed that if you drag the user library to Finder it will remain visible.

  • Please help--some text not displayed.

    I used to be able to use Reader with no issues but suddenly only the basic text is viewable--Title blocks, big fonts, etc are hidden in solid black rectangles--other computers display these pages fine.  Not sure if this began before or after I updated to version 9--but I cant download version 8 to see if this is the problem.  Support refered me here for answers but II posted a few days ago but  my questions was ignored. Please advise.  Thx.

    Hello Suruchi,
    Please follow the steps below.
    1) First wrap the 3rd element(some static text) in an individual sub form.
    2) Then wrap all these 3 main elements in a parent sub form of type flowed.
    3) Now on sub form of 2nd element, write the Javascript in Initialize event as below.
    if ( this.parent.text.rawvalue == " " )
         this.presence = "hidden";
    4) Finally on sub form of 3rd element, write the Javascript in Initialize event as below
    if ( this.parent.text.rawvalue == " " )
         this.presence = "hidden";
    Note: Here text.rawvalue in Javascript is the value of 1st element which is a text field.

  • Please Help -- Dynamic Text Wont Load :-(

    Hi Gang,
    I've just written a quick mail form in Flash8Pro/PHP - the
    user enters their contact details & a message, and it sends it
    off to the specified email address.
    The feature works fine for the most part, but there's one
    little problem. The dynamic text field that confirms the message
    has been sent successfully isn't working properly. I'm using the
    following php code to send dynamic text back to the flash document
    saying the message has gone through OK:
    print "sendresult=Message Sent!";
    where sendresult is the name of the dynamic text field's
    variable.
    The strange thing is that the code works fine if the
    sendresult dynamic text field is inserted into the main flash
    document. It's only when I put the sendresult field into the movie
    clip that holds the flash mail form (including the button with the
    loadvariablesnum command), that the text won't update at all. I've
    tried:
    print "_root.enquirypage.sendresult=Data Sent!"
    and
    print "enquirypage.sendresult=Data Sent!", but neither of
    those make any difference.
    Any suggestions? Anybody know what's causing this problem?
    Any help would be very very appreciated - I know I could probably
    get around this by just setting the visibility of the dynamic text
    field on & off when necessary and keeping it in the main flash
    doc, but I'll be using this feature quite a lot and I'd really like
    a proper/versatile solution. In case it's necessary, the
    actionscript that sends the message off to the php is just:
    loadVariablesNum ("form.php", 0, "POST");
    Many thanks in advance gang,
    - Jay

    Your code loadVariablesNum ("form.php", 0, "POST"); will load
    your variable sendresult in level 0 - the main timeline. If you put
    the text field inside a movie clip it expects a local variable in
    that movie clip.
    Use _level0.sendresult or _root.sendresult as the dynamic
    field's variable.
    Or, instead of loadVariablesNum you could use loadVariables,
    like this:
    _root.enquirypage.loadVariables("form.php", "POST");
    or, if you make the call from a button inside the movie clip:
    this.loadVariables("form.php", "POST");
    /uamg

  • Please help, deleted Sparse Bundle!!!

    So I have done the worst thing and accidentally deleted my Time Machine Sparsebundle, I have since done an erase and install, and I have no way of getting the bundle back.  I can see that my fils are still on my TC, as it shows that I have 434.63GB available on a 1TB hard drive. 
    My question is; is there a way to access my files again without the sparsebundle or is there a dummies guide to making a new sparsebundle to access my files.  I hav tried using TM to backup and see if it merges new with old backups, but it won't. I have years of important data I am trying to recover, any help is good help.

    You are well past the point of no return if I understand you..
    I have since done an erase and install, and I have no way of getting the bundle back.  I can see that my fils are still on my TC, as it shows that I have 434.63GB available on a 1TB hard drive.
    Why would you erase after having deleted the sparsebundle?
    Perhaps you don't mean erase.. you mean reset.. an erase would cause all the content of the TC to be lost.
    My question is; is there a way to access my files again without the sparsebundle
    No, the sparsebundle is essential to TM.. the files are stored in a special format not accessible to anything but TM.
    You have one hope.. open the TC and remove the hard disk. Put it in a USB to sata holder. and plug into a computer. 
    You will need to buy a utility like disk warrior or data rescue and attempt to recover or rename the sparsebundle or at least extract the backup folder from inside the sparsebundle. If it works it will be immediately obvious. Otherwise the backup I doubt can be recovered.. even if you do the full recover, it cannot put the files back together. 
    If you have no idea what you are doing.. you might be better simply paying for it to be done. Send the disk to a data recovery centre.. it will cost a mint but if the files have to be recovered you have no choice.

  • Please, help with text field on form

    Hello,
    I am creating a form.  I have a text field where the person will type a number into text field and I need it to also enter in another text field.  For example, the person enters 23 into text field 12, I also need the entry of text field 12 to show up in text field 63.  Is this possible?  I'm VERY new to this, so a step by step response would be greatly appreciated!
    Thank You!!!
    Debby

    This requires a script as you have to first verify that the denominator is not blank or zero, or you'll get an invalid operation.
    Something like this should work as the custom calculation script of your field:
    var s1 = this.getField("Text2").valueAsString;
    var s2 = this.getField("Text3").valueAsString;
    if (s1!="" && s2!="" && Number(s2)!=0) event.value = Number(s1)/Number(s2);
    else event.value = "";

  • Please help with text

    I have the newest software, im seriously irritated with the fill in text. Everyday I use the word shiit, minus the extra I. and it allways wants to put the words shut or shot. I dont think ive EVER even used those words. this has gone on ever since I updated months ago. Is there any way to stop it from doing this? it drives me nuts!
    Message was edited by: msonia03

    Apparently, the dictionary has sh*t-for-brains..
    Try this (it looks insane, but works).
    Settings > General > Keyboard > International Keyboards > Add New Keyboard > select Japanese Ten Key and add.
    Back out of Settings and go back to General > Keyboard > (you will now see a new choice) Edit User Dictionary > "+" > Word > type in that word > Save
    You now will be able to use that word using the English keyboard without correction. Why this hidden feature requires enabling a Japanese dictionary (and only Japanese) is a question only Apple can answer...
    Message was edited by: modular747

  • Please help with Text Manipulation

    I am trying to display text in a fixed frame in Reports 9i.
    Example:
    Assuming Fixed Display Text Area in Report = 5 lines x 100 characters
    Text field in database has capacity of 4000 characters(which is free form text entered by user and can contain tabs/carriage return etc)
    How do I read from the database text field to display only the text that would fit in the fixed frame on the report. And I need to display the remaining text in the subsequent pages of the report.
    Ideally 5 lines of text would mean 500 characters, but this can vary based on existence of tab spaces or carriage returns.

    Hi,
    You'll want to post here instead:
    Reports
    -Ron

Maybe you are looking for

  • Purchase Requisitions, Purchase Orders and Receipts

    Hello all, The following is the sequence for Purchasing Purchase Requision -> Purchase Orders -> Receipts However I have a requirement to bring in the related Purchase requisions,purchase orders and receipts from 11i into R12 instance.I can do that u

  • Can i print out the manual for ipod mini in different language?

    hi i wanna get an ipod mini for my mom and she doesnt really speak or read enlgish all that well, i mean ill gladly help her out, but i want her to have some sort of manual in case im not around, she speaks russian and i was wondering if i can get a

  • G3 B&W - No startup chime

    This is strange.... When I first started working on this G3, there was no startup chime. I plugged in a auxillary speaker system into the headphone port on the back, and was able to get it for a few times until it stopped through there.... I had prob

  • I lost the Hard Drive Icon in my Finder Window

    I have lost the ICON for my Startup Disk "Macintosh HD"! It shows up in my other windows that I open but it is no longer on my DESKTOP. Ugh. How can I get the ICON back onto my DESKTOP? The computer is working fine.

  • How to create datasource

    Hello,all:   Now we need to create a datasource, I create one copy a datasoucre by system standard datasource. When I check it,the short jump as follow:   1.Table SMOXRELP:segment is missing in BDOC;   2.Table SMOXRELP:field is missing in extract stu