The buttons in my app respond normally when I test the swf file. When I test the ipa file on my iPad the buttons dont visually change when touched although the app functions correctly when the buttons are touched. A test app with just one button displays the correct up/over/down states on the iPad. I have not added any code to alter the normal button display state behavior.but apparently I've done something that effects it.
Im using CS5.5 and the iPad is updated to iOS 5. I'm using common library buttons and depending on Flash/AIR to handle single touchEvents as equivalent to mouseEvents. Any suggestions as to why button states might not display normally in iOS would be very much appreciated. MB
Hi,
Could you please open a new bug report about this issue at bugbase.adobe.com? Please include sample media, code, project or app to help us reproduce the problem. Finally, once the bug has been added, would you mind posting back with the URL so that others affected can add their votes and comments?
Thanks,
Jian
Adobe Flash Runtime team
I have updated the program/app several times and tested it again. In each case the buttons still work normally when I publish with AIR for IOS and test the SWF. The buttons do not change visual state when I test the app on an iPad. The same problem occurs when I test the app on an iPad 2. The app is ready to upload to Apple so I really need to find a solution. Has anyone else experienced a similar problem with button states not showing properly? MB
After a lot more testing I determined that Buttons do not display their state on the iPad if there is a Slider component present (from the standard component library) - even if it is positioned off Stage. For testing, create a FLA with a standard Button and Slider. When I test it on the iPad the Button does not display the Down state. If the Slider is removed it works fine.
A secondary problem is that there is no direct Touch equivalent for MouseOver and MouseOut in iOS (or on any tablet). So the Button must have a distinct MouseDown state.to test. For details see Apple Safari Developer Library - Handling Events.
As a workaround I intend to create my own Slider (or switch to Flex!). The standard Slider is not designed for the iPad. MB
North America
Europe, Middle East and Africa
Asia Pacific