[AS3] Input Textfield... doesn't allow input?

Sooo… I have a basic input textfield that’s inside a couple of movieclips. I have it set to input, and the cursor obediently appears when it’s focused. However, any typing on the keyboard yields absolutely nothing. I’m curious as to what needs to happen to an input textfield to actually allow it to grow to become the input textfield it was meant to be.

Now, the whole deal runs just fine when tested from the Flash IDE, but once it is published and embedded online it’s hopelessly useless. Please help me enter the mindset of the incredible developers at Adobe to figure out what genius methods I must use to maintain an input textfield’s state as an input textfield.

I have two fields, the first being for an email and the second for a password. I’ve tried just about every combination of setting I could find, but here is the latest:

emailField.type = TextFieldType.INPUT;
emailField.defaultTextFormat = formatField;
emailField.textColor = fieldColor;
emailField.text = "";
emailField.background = true;
emailField.border = true;

I’m aware that how something is embedded somehow effects how it works (though I’m fairly certain the display engine is made by the same people? :P), so here is the embed code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave /cabs/flash/swflash.cab#version=9,0,115,0" width="240" height="380">
    <param name="movie" value="portal.swf?userKey=2"></param>
    <param name="allowFullScreen" value="false"></param>
    <param name="allowscriptaccess" value="always"></param> <!-- All communication to the outside world -->
    <param name="wmode" value="transparent"></param>
    <embed src="portal.swf?userKey=2" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" allowfullscreen="false" width="240" height="380" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

Everything else works just fine though… how the buttons interact, ExternalInterface, etc… How what should be the simplest task fails to function just amazes me though.

Do I have to literally make listeners to process all of the keyboard input? That would suck… but why would it work fine when I do “Test Project” and not when it’s published and embedded? :pirate: argh