keyEvents in textBox

Posted on 2005-05-13
Last Modified: 2010-04-03
Hi Flash Experts

I want to know is this possible in Flash ?

1 - Can be desin a Rich text Editor in Flash like hotmail editor.

      Please link , if any richtext editor is available for download.

2 - I want to design a keyboard layout in flash and on my site when I want to put it on top and when any user type any form my flash movie should catch that text box event and high light that key.

Question by:Luhana
    LVL 18

    Expert Comment

    what exactly to you want to do?
    You can create an input text field, if that's what you are looking for...
    LVL 1

    Author Comment


    A virtual keyboard on page that shows which  key is pressed or when shift pressed it shows shift keys same as windows XP or windows 200 "on screen keyboard"

    but I want to design it in flash , A keyboard which can fire key press event or can capture keypress event out side of movie.
    LVL 18

    Expert Comment

    you can catch most keypress eventis in flash with a key listener
    LVL 18

    Accepted Solution


    myListener = new Object();

    myListener.onKeyUp = function () {
      trace ("You released a key."+Key.getAscii());

    LVL 18

    Expert Comment

    Does this help? Can you post a comment to let me know one way or the other. If not, give me a bit more explanantion and I will try to help:)


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now