Re: [Flashcoders] as3 to iphone app

2009-12-13 Thread jonathan howe
So I've watched the video and one thing concerns me a little. From what I can tell, there is no way to simulate the touch and gesture events on your machine (Adobe has stated in the past that an iPhone virtual machine will not work). So to debug, you have to: Export (a process the video's

Re: [Flashcoders] as3 to iphone app

2009-12-13 Thread Paul Andrews
jonathan howe wrote: So I've watched the video and one thing concerns me a little. From what I can tell, there is no way to simulate the touch and gesture events on your machine (Adobe has stated in the past that an iPhone virtual machine will not work). So to debug, you have to: Export (a

Re: [Flashcoders] as3 to iphone app

2009-12-13 Thread edole...@gmail.com
best $100 I ever spent -- Sent from the Verizon network using Mobile Email --Original Message-- From: jonathan howe jonathangh...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Sun, Dec 13, 9:31 AM -0500 Subject: Re: [Flashcoders] as3 to iphone app So

[Flashcoders] Enter key to activate focused button

2009-12-13 Thread Alan Neilsen
I have set up a custom Tab order, so the Tab key moves through the interactive elements (buttons) of my SWF in the order I want. I then want the Enter key to execute the code for whichever button has focus (as if that button was clicked). I can't work out how to add a listener that listens for

Re: [Flashcoders] Enter key to activate focused button

2009-12-13 Thread Nathan Mynarcik
You need to do a listener for the keyboard and then check what key was pressed by tracing its keyCode value. Then do an if statement seeing if the keycode pressed is equal to the Enter key keycode and then run your code that will execute just like if the viewer clicked the movieclip. Hth.