Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > january 2005 >

macromedia mobile and devices flashlite : Navigation Menu



Wunderlake
1/23/2005 5:55:27 PM
Hi, I want to create a navigation menu. I checked thru the Example files
bundled in the Flash_Lite_1.1_CDK and for buttons, the AS they gave is always
on (press)..which always triggers a 'Unsupported Mouse Event' error msg.
Hence, I tried using keyPress"<Enter>" for each button but it doesn't work.
Nothing happens, only until I removed the script from all except 1 button. But
this makes all the buttons go to the same location..which makes no sense for
the menu.
Why does the Example Files use on (press) if its unsupported? How to make the
menu work the way I want it to be? Would greatly appreciate it if Bill or
anyone helps shed some light on these issues..I'm new to Flash Lite n am very
lost. Thanks!
Justin E-C
1/24/2005 12:14:52 AM
it is supported, but its supported on your phone.

The interaction for clicking on a button is so diferent for the phone, it just
has a bad interface on the PC (though it could be significantly improved).

on(press) - this is going to work when you have a the button hilighted (you
will see a yellow square around it unless you have specifically disabled the
hilight).

on(keyPress "<enter>") - this is going to work regardless of if the button is
hilighted. it is just listening for the click of the joystick. The thing is,
only one button can successfully listen for the enter key at any given time, so
you should only have one of these events present at any given time. For some
reason though, if you have your swf set to export as Flash Lite, the actual
enter key doesn't actually trigger the button. I tend to either develop set
for Flash 4 until the very end and change to FLash Lite, or use the 0 button
instead of enter until the last moment.

my hope is that Macromedia would release a new version of the FLash Lite 1.1
definition for the IDE that might take care of some of these testing issues.
AddThis Social Bookmark Button