IOS app touch input not working with Adobe AIR

I believe the problem here is my touch input but I'm not positive.
This is my first iOS application. I'm making the game for both Android and iOS and it works perfect on Android, however when I sent it out ot my iPhone testers, they were unable to get past my "Tap to Play" screen.
I'm using mouse events for the touch/click and this is no problem on Android and all of my research says touch events work fine for iPhones as well. Is there another way I should be handling this event?
Below is the code that loads the next swf. Again, it works perfect on PC, and multiple Android devices.
TouchToPlay.addEventListener(MouseEvent.CLICK, page1);
function page1(event: MouseEvent)
     MovieClip(stage.getChildAt(0)).loadThisScreen("Menu.swf");
Like stated above, it seems as if iOS doesn't/isn't recognizing the MouseEvent. Why is this?

A major difference is Android supports Flash up to 11.2, so you can be getting away with it for that.
For mobile, there's absolutely no reason not to simply convert to using TouchEvent.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/TouchEvent .html
They work almost identical, simple CONST changes between (MOUSE_DOWN is TOUCH_BEGIN, etc).
What MouseEvent doesn't support is gestures, so why would you use an event model with less features like MouseEvent over Touch?

Similar Messages

  • Webcam not working with adobe air

    hey frnds,
    i'm trying to capture webcam snaps and storing it on local desktop.
    Below code of capuring snap is working with flex but same code not working in adobe air.
    I'm using Adobe Flash builder beta 2
    is any setting is required to use webcam with adobe air?
    i'm using following code
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/halo" creationComplete="init();">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.core.UIComponent;
                import flash.media.Camera;
                import flash.media.Video;
                private function videoDisplay_creationComplete() : void
                    var camera:Camera = Camera.getCamera();
                    if (camera)
                        videoDisplay.attachCamera(camera);                   
                    else
                        Alert.show("Oops, we can't find your camera.");
                private function capture_click() : void
                    var snap:BitmapData = new BitmapData(320, 240, true);
                    var snapBmp:Bitmap = new Bitmap(snap);
                    snapBmp.width = 320;
                    snapBmp.height = 240;
                    if(snapshotHolder.numChildren > 0)
                        snapshotHolder.removeChildAt(0);
                    snapshotHolder.addChild(snapBmp);               
                    snap.draw(videoDisplay);               
        ]]>
        </fx:Script>
        <mx:HBox>
            <s:Panel title="Video">
                <mx:VideoDisplay id="videoDisplay" creationComplete="videoDisplay_creationComplete();" width="320" height="240" />       
            </s:Panel>
            <s:Panel title="Snapshot">
                <mx:UIComponent id="snapshotHolder" width="320" height="240" />
            </s:Panel>       
        </mx:HBox>
        <mx:HBox>
            <mx:Button label="reload camera" click="videoDisplay_creationComplete();"/>
            <mx:Button label="capture" click="capture_click();"/>  
        </mx:HBox>
    </s:WindowedApplication>
    Camera is connected but cannot see anything inair,
    plz guide me in this.
    thx in advanced,

    I seem to have the same problem. When creating an web application it works fine, but when creating a desktop application it doesn't. I can't figure out what the problem is.
    Does anyone know?

  • -webkit-linear-gradient not working with Adobe Air 3.0

    Hi -
    I recently downloaded Adobe Air 3.0 after reading that gradients are now supported (http://www.adobe.com/devnet/air/ajax/articles/air_and_webkit.html), but I have not been able to successfully implement them. For example, I have the following CSS class defined:
    .gradient_test {
         background-image: -webkit-linear-gradient(#68AB34, #3D721B);
         padding: 5px;
         color: #FFF;
    This should (and does in Chrome, Safari, etc) create a linear gradient going from light to dark green. But in Air it just appears as if no background has been applied to the selector. Am I missing some unique way to be able to apply gradients in Adobe Air 3.0?
    Thanks,
    Zach

    I don't know why this hasn't been addressed. I'm seeing the exact same problem. I've tried every permutation, but haven't been able to generate a gradient using any existing standard for webkit or otherwise (even though it's allegedly supported).
    -Matthew
    EDIT: I discovered that when the app is compiled, the gradients work fine. This one is driving my crazy, because I want to be able to test them. I get a mix of CSS support, depending on how the app is run.
    From Dreamweaver CS3 "Preview" - My CSS doesn't show gradients and shows embedded web fonts.
    From ADL - My CSS fails almost entirely, but some if it gets loaded.
    From the compiled AIR file: fortunately, everything seems to display correctly, but it's really a bad scenario for development / testing. Not sure what to do.

  • Webcam and Whiteboard not working with Adobe AIR with Adobe Flash Builder

    Hi,
    I am trying to build a  simple chat service using Adobe Flash Builder target for desktop AIR( my final objective is to port it to android). My adobe AIR version is 2.5.0 and below is my source code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:rtc="http://ns.adobe.com/rtc">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <rtc:AdobeHSAuthenticator id="auth" userName="Yy" protocol="rtmfp"/>
    </fx:Declarations>
    <rtc:ConnectSessionContainer id="session" authenticator="{auth}" roomURL="https://collaboration.adobelivecycle.com/yytan1987/myfirstroom" width="100%" height="100%">
    <mx:HBox width="100%" height="100%">
    <mx:VBox width="25%" height="100%">
    <rtc:WebCamera width="100%" height="50%"/>
    <rtc:SimpleChat width="100%" height="50%"/>
    </mx:VBox>
    <rtc:SharedWhiteBoard width="75%" height="100%"/>
    </mx:HBox>
    </rtc:ConnectSessionContainer>
    </s:WindowedApplication>
    Basically when i debug it with AIR, the chat is working properly but the webcam and whiteboard just don't work....I really don't know what's wrong with it already...Appreciate it if anyone can help,thanks!!
    Regards

    Hi,
    My take is , is your autopromote tuned on for the room. I mean whats
    your user role when an user enters the room(who is not host), is it 10
    or 50. If its 10 i.e. viewer , then he cant use his own cam etc. You
    need to take a look at the logs when an user enters and if its 10 and
    you want to give him these permissions, turn autopromote on from the
    devconsole for the room to make his role 50 i.e. publisher.
    I just now downloaded 2.5.1 AIR and created a new project with your
    source and I am able to use everything.
    Thanks
    Hironmay Basu

  • My iPod Touch is not working with Bose SoundDock.  How can I fix it?

    My iPod Touch is not working with Bose DoundDock Series II.  Can anyone suggest how I can get these 2 to work together?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      
    Apple will exchange your iPod for a refurbished one with a new battery for $79 Y can do the exchange at an APple store or sent it in.. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following will replace your battery for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. Y can purchase a eplacement battery for about $10
    iPod Touch Repair – iFixit                  

  • I generated a new Itunes Account and now the App sync. does not work with theapps I bought with the old account. Is it possible to merge the old and the new account ?

    I generated a new Itunes Account and now the App sync. does not work with the apps I bought with the old account. Is it possible to merge the old and the new account ?

    It is not possible to merge Apple IDs. 
    Why did you create a new one?

  • Appletv remote app and airplay not working with iphone 4S

    I have the latest appleTV.  I have the remote app loaded onto my ipad3 and iphone 4S.  The app is not working with iphone 4S, nor do I get the airplay icon, hence I can't mirrior my phone on appleTV.  It used to work.  I have deleted and reloaded the app, and still nothing.  It worked fined until a month ago or so.  I have enabled home sharing.
    The app and airlplay are working just fine with the ipad3.  I have the ipad and appleTV hooked up to my router using 5Ghz, and the iphone only connects to the 2Ghz network on the same router.  I don't think this is the issue, because it worked before.
    Also, when I click on the remote app on the iphone, to add an itunes library, a code pops up on the phone, which I enter into itunes on my Win7 PC.  Nothing seems happed on the computer when I enter the code.  Could this have anything to do with recent appleTV or itunes updates?  Any possible solutions?

    It seems like I am having the same problem.
    I have the latest AppleTV 1080, imac 27", ipad, ipad2, 2 iphone 4, all with the latest iOS. After I have the AppleTV connected, a few problems showed up:
    (1) ipad plus iphones cannot airplay photo to AppleTV. After the play button and the grey screen displayed "the playing msg on AppleTV", nothing happened. it is the same for ipad/iphone.
    (2) iMac not Airplay to AppleTV
    (3) Airplay Mirroring not working
    The following are done:
    - Home sharing enabled
    - To test the devices are connected. I set a passowrd for Airplay and the ipad/iphone both requested for it so they are network and devices are ok

  • Why the Apple products does not work with Adobe flash player?

    Could be better if the Apple products work with Adobe Flash Player, I know that Steve does not like to work with them, but I think will be necessary soon.

    From Adobe's own site:
    *** NOTE: FLASH PLAYER IS NO LONGER BEING UPDATED FOR NEW DEVICE CONFIGURATIONS. FLASH PLAYER WILL NOT BE SUPPORTED ON ANY ANDROID VERSION BEYOND ANDROID 4.0.x ***
    While Flash Player remains on Google Play for installation on Android devices that are certified by the manufacturer, installing Flash Player on an uncertified device may result in unexpected behavior and can potentially destabilize your device. A list of certified devices can be found at http://www.adobe.com/go/certifieddevices. Flash Player WILL NOT be supported on any device shipped with or upgraded to an Android version beyond Android 4.0.x
    Further comments on what is the case on Android devices is irrelevant. Adobe has dropped further development of Flash for mobile devices and Apple has made no indications that they have any plans to do so themselves, so it is highly unlikely that there will ever be a native Flash player for any iOS device.
    'nuff said on the matter. Regards.

  • AcroPDF ActiveX print functions are not working with Adobe Reader 9.2 / Actobat Reader 9.3

    AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
    The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
    Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!

    Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
    BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround?

  • Touch pad not working with HP G60 operating on Windows 7

    I have a HP G60 operating on Windows 7 (not sure bit) and have problems with touch pad not working.
    I was using touch pad and wireless mouse interchangeably for past year.
    No recent changes made to system. Suddenly not work one evening. Have tried shutting down and left overnight which has not resolve problems.  On one occasion, i was not even able to type and that resolved after re-starting computer.
    There is a button between space bar and top of touch pad which is white. Even when i press and turn red, it has not changed situation. Therefore I have to use my wireless mouse to operate for the moment. 
    Would appreciate any advice about what is the problem and ways to resolve it.
    Thanks a lot!
    Mo

    Hi,
    The numbers are fine
    Try the following.
    First, ensure the Touchpad is switched on ( the light between the Touchpad and the Spacebar should be white ), then download the latest Synaptics driver installer on the link below and save it to your Downloads folder.
    http://ftp.hp.com/pub/softpaq/sp44501-45000/sp44940.exe
    Next, open windows Control Panel, open Programs and Features, right click the entry 'Synaptics Pointing Device Driver' and select Uninstall.
    When this has completed, shut down the notebook, remove any external devices connected to the notebook, unplug the AC Adapter and then remove the battery.  Hold  down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    When windows has fully reloaded - it will automatically load a generic driver for the Touchpad, but just let it do this.  Then open your Downloads folder, right click the Synaptics installer and select 'Run as Administrator' to start the installation.  When this has completed, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HT1145 Why is iOS 5.1 AirPlay not working with Airport Express

    Ive updated my iPad and iphone to iOS 5.1 and now AirPlay is not working with my Airport Exress set up.
    Can anyone help me out? I can't seem to resolve this and I'm an apple head

    I have the same problem from my Ipad 2 and my Iphone 4S trying to airplay to my Apple TV 2. i dont get any airplay button when playing photos or \video.
    All worked fine with IOS 5.0
    Whats going on?

  • My 4th gen iPod Touch does not work with Ford sync since updating OS

    When I updated my iPod to the new os, it does not work with my ford sync system anymore. how do I fix this?

    Have lots of issues with Fords MySync and here's some info that might help....
    Using ford sync interface, goto the phone section, then settings, and look if your iPhones name is listed, if so select the phone name thru sync interface and remove/delete it from the sync list, then go thru the Bluetooth pairing process again.
    If that doesn't work, do the same on the iPhone, select ford sync entry in Bluetooth and remove sync or forget this device on the iPhone and then go thru Bluetooth pairing again.
    If that doesn't work Power off iphone ( not sleep) hold power button till you see red slider to power off. Then restart iphone, try pairing up again.
    If that doesn't work go back to MySync and goto phone settings and use the up-down slider till you see sync master reset. Confirm then go thru BT pairing again.
    If that doesn't work there is a fuse for the my sync system. Fuse box is usually behind kick panel of front passenger seat side for the Mustang #3, its behind a paper black cover. Remove fuse for 5-30 secs then replace.
    Lastly, make sure your MySync Firmware is the latest vers. Mines 4.0.2 goto fords MySync support page to check
    http://www.ford.com/syncmyride/
    or call 1-800-392-3673 Opt 3
    A google search might help for your model and year if not a newer mustang and you couldn't get to ford.
    Good Luck

  • Verison MIFI is not working with MacBook Air

    Can't get the Mifi working with my Air.  Says is is working but can't open any internet site.  Help!!

    Is there a TC involved here somewhere?
    Check the network values that the airport has obtained.. does it include router (gateway) and dns. if not add them manually.

  • Touch id not working with iTunes and App Store

    Touch ID will work to unlock my phone, but not with iTunes or App Store. It keeps asking for my iTunes password. I have turned on 'Use your fingerprint instead of your Apple ID password when buying from the iTunes & App Store'. I am running IOS v7.0 (11A466)

    I was having this issue too, it was always asking for the passcode even though the setting was on for iTunes & App Store. To fix it I turned it off and then back on again, it asked for my password and then it worked.
    Steps:
    - Go to Settings -> General -> Touch ID & Passcode -> Touch ID
    - Disable iTunes & App Store
    - Re-enable iTunes & App Store
    - Enter your passcode one last time
    - It should work
    Also as others mentioned, under General -> Restrictions -> Require Password might need to be set to 15 minutes.

  • My iPod touch will not work with my ubox-f-1107 after updating to iOS 5.1.1

    I have a Citroen C4 Grand Picasso 2008, I bought the UBOX-F-1107 and had it installed by the dealer here in Spain so that my Ipod touch would work and charge in my car! It worked great until I updated to the ios 5.1.1, now it does not work!!! After I plug it in it powers up, and shows Device Connected on the Ipod screen, but thats it, will not play music at all!! Please HELP!! Thanks

    In order to use iMessage efficiently, add the country code to the mobile number prefix by of your contact and their iMessage ID. You will notice then when selecting the contact name in the TO, the green shade will turn into blue shade. It means your message will be sent as iMessage. Notice if you are sending message to non imessage user, the shade of the contact name is green. It means the message will be sent as text message.

Maybe you are looking for

  • Problem while deploying webdynpro application

    Hi all,   When i am trying to deploy my application i am getting the following error. Can any  one suggest me why this error is coming, the server is in local host only. The error is Apr 28, 2007 2:52:30 PM /userOut/deploy (com.sap.ide.eclipse.sdm.th

  • Is there a Mainstage templet for the Novation Impulse 61 midi controller?

    I have just recently converted from PC to Mac for the primary purpose of using it to run my MIDI controller in a live music setting in our worship service. Based on most of my research prior to purchasing the Mac, the recommendations I was hearing wa

  • Pages keeps quitting unexpectedly?

    So I've been working on a book for the past year, and I've finished the first draft, about 400 pages. About 2 weeks into editing, suddenly tonight the document crashes after doing a word search, and now I can't open it. Every time I try to open the d

  • Command to set the performance

    Is there any way to use command line to change the performance setting, such as the cache size? Thanks, iris

  • How can i buy iphone5 with out contarct PLEASE,,...

    theres people that are buying iphone 5 with out contract..can some one please help me how i can do that..??PLZ