I'm making a little flash game for Nokia 5800 that I'm planning to release as a widget. I've tried the methods to package the flash content described here:
http://wiki.forum.nokia.com/index.ph...nt_in_a_Widget
Currently I have the flash embedded in the HTML as this enables me to lock the screen orientation to Landscape mode with Javascript. The soft buttons have been hidden in the widget as the game is meant to fill the whole screen. It works reasonably well BUT when you click the flash area for the first time it seems to get focused/activated or something causing two soft buttons (Done/Cancel) to appear in the widget. They have no function and they disappear when either of them is clicked. (The instructions in the above mentioned tutorial seem a bit off as it seems only the <embed> part of the code is needed.) Any ideas what could cause this?
Also when the flash is embedded inside a widget it develops a slight delay in recognizing the touch. I have created a mouse listener that displays a 'pointer' when screen is touched and hides it again the finger is lifted and this is where the delay shows - it takes a moment for the pointer to appear and it stays visible a fraction too long. When running the .swf directly in the flash player both of these happen instantly. Any cure for this?
In short - I'm looking for the best way to display a fullscreen flash in a widget and to be able to control the Portrait/Horizontal rotation. Anyone have any 'Best Practices' for these?
-markus



I checked and I have all the codes in place just like you suggested and the soft keys are hidden like they should when you open the widget - just like before. But the weird thing happens when you touch the screen/flash the first time - that's when buttons appear. The buttons disappear if I click either of them (Done/Cancel) and won't come back until you lock the screen or drop the widget to the background - then when you unlock the screen / come back to the widget the buttons appear again when I touch the screen for the first time. Nothing seems to fix that.

