PDA

View Full Version : Number Input in Firefox



PuLse
October 24th, 2007, 07:24 AM
Hi,

I've discovered a little bug with the input of numbers in a textfield via firefox. If you're not using the numpad (I'm using a notebook), the numbers simply won't display in FF, unless you open the swf directly.

Example:
I've uploaded 2 files to demonstrate:
http://users.telenet.be/pulse/typetest/main.html
http://users.telenet.be/pulse/typetest/main_deoz.swf

If you try to enter a number in the box, it'll work if you're viewing the swf directly. If you're working via the html-page however, it'll fail. (This only aplies to FF, and a non-numpad input)

Does anyone have an explanation or a fix for this?


EDIT: Problem only occurs in XP and Vista, OS X works fine

Krilnon
October 24th, 2007, 08:43 AM
The numbers work properly for me using FF. How many computers have you seen this issue on?

PuLse
October 24th, 2007, 08:55 AM
5 different machines. They were all running Windows XP tough.
I assumed it'd occur everywhere.

Are there other people who don't encounter this bug using FF, the html version and a non-numpad input?


EDIT: I've tested it on a number of other machines and concluded that Vista suffers the same problem, while it works in OS X.

Krilnon
October 24th, 2007, 09:42 PM
I have been able to successfully input numbers on both Vista and XP using the typewriter-style number keys. Which versions of Flash Player and Firefox are you testing with? (I am using FP 9.0.47.0 Debug and FF 2.0.0.8)

(Perhaps this issue only occurs in localized versions of Flash/FF, as I'm assuming that your test computers are in Belgium; mine are in the US)

PuLse
October 25th, 2007, 04:58 AM
All the machines I've tested on are indeed located in Belgium.
I'm using FP 9.0.47.0 and FF 2.0.0.8.

This really bugs me. At first I assumed it had something to do with the Flash Player for FF, but I can't figure out why it would work if you run the swf itself within FF and not if it is embedded in a html page.

I'm hoping it has nothing to do with localized versions, because then I really don't see how I can fix it.

eki
October 25th, 2007, 05:21 AM
it works for me using FF 2.0.0.8 on XP in Spain

Mekelan
October 25th, 2007, 06:28 AM
Works fine on Danish localized machines, using FF and any kind of keyboard input I have available here.

PuLse
October 29th, 2007, 08:32 AM
Ok, I finally figured out what causes the problem.
It has to do with the wmode="transparent" parameter. If I remove that line in the embed tag, number input works fine.
For more info: http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/

Does anyone have a suggestion about how I can display a swf file without the use of the wmode parameter in FF?