Flash Input Boxes

Posted on 2004-11-22
Last Modified: 2010-04-07

I have two "input boxes" on my stage... When I run the swf file using Flash Player I can type in text but when I open the swf file within a HTML file (in browser) it doesn't look like I can type anything... It is like I am locked out? Very strange indeed. Any ideas?


Question by:odonovanpm
    1 Comment
    LVL 27

    Accepted Solution

    You have to set focus to the flash movie before:

                <script language="JavaScript">
                function fuoco(){
                      var IE = navigator.appName.indexOf("Microsoft") != -1;
                      var filmato = IE ? window.filmato : window.document.filmato;
          <body onLoad="fuoco()">
                      codebase="[...]" width="400" height="300" ID="filmato">
                      <param name="movie" VALUE="movie.swf">
                      <param name="quality" VALUE="high" />
                      <param name="bgcolor" VALUE="#CCCCCC" />

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    746 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

    16 Experts available now in Live!

    Get 1:1 Help Now