Number.floor appears to be a valid function but is not. Causing crashes on mobile.

This is a cross post from http://forums.adobe.com/message/4993660/  We didn't get an answer there and this issue, and similar discrepencies between what the IDE can compile and what will run on a device, have been costing us man days in work.
We recently had a problem where when compiling using FB and debugging on devices works fine. But when we built the app using Ant, it was crashing on Android devices. After debugging that, we found that Number.floor was not a function.
I cannot find any documentaiton that says Number.floor was ever a function in ActionScript/Flex/AIR.
So why does Flash Builder seem to think it's valid, let us compile it, and even run it on the device?! Is there some 'even more strict' compiler option I need to check?

Great! Thanks for that. There's more too. Like this... Looks and works great in FB, but dies on the command line. What's going on here?
class CallbackInfo extends Object
     public var requestID:int;
     public var callback:Function;
     public var userData:Object;
package framework
    class Moo extends Object
Produces this output over the command line:
  [mxmlc] Loading configuration file /Flex_4.6.0_Air_3.5/frameworks/airmobile-config.xml
[mxmlc] Loading configuration file /client/config_dev.xml
[mxmlc] /client/src/framework/EASPProxy.as(27): col: 1 Error: Syntax error: package is unexpected.
[mxmlc]  [mxmlc] package framework [mxmlc] ^ [mxmlc]

Similar Messages

  • I found an iphone 4s blocked on icloud imei is ***** then i called the supposed owner at the number that appeares when you activate the device ************ but he told me that he never had an iphone ...can you help me to activate the devi

    i found an iphone 4s blocked on icloud imei is ********** then i called the supposed owner at the number that appeares when you activate the device *********** but he told me that he never had an iphone ...can you help me to activate the device??
    <Personal Information Edited by Host>

    ibrahimfromel rahme wrote:
    i found an iphone 4s blocked on icloud imei is ********** then i called the supposed owner at the number that appeares when you activate the device *********** but he told me that he never had an iphone ...can you help me to activate the device??
    <Personal Information Edited by Host>
    This is my 'doubtful' face:

  • When I click on the iPhoto a gray appears along with the perpetual wheel but does not load.   Any recommendations?

    When I click on the iPhoto a gray appears along with the perpetual wheel but does not load.   Any recommendations?

    Assuming you're using iPhoto 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • HT1386 My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?

    Hi, My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?
    Documents say
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it....
    But I can't see my iPad Mini in iTunes.
    And my  Ipad  (Settings, General, iTunes Wifi Sinc)  shows  a message :" Sync will resume when xxx(my PC with iTunes) is available "...
    Both are in the same network,
      Ipad mini is is plugged in to power
    . iTunes is open on the computer
    what can i Do ???

    Hi Skydiver119,  and tks for four interest.
    I have done exactly as you say, but it does not work for me.
    You indicated  " Navigate to the info tab and scroll down. There'll be a check box for 'sync over wifi' or something to that effect. Check that box and sync to affirm your choice."
    I navigated to Summary tab (not Info Tab) and checked "Sync with this ipad over Wi-Fi"
    I disconnect the wire,
    and my iPad disappears from my iTunes screen.
    in my iPad ->Settings -> General -> iTunes Wi-Fi Sync -> says " Sync will resume when (my PC) is available.
    So, I can not sync via wi-fi
    I appreciate if you can help me.

  • I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    You haven't identified the version so I can't tell if offering you contact options for Adobe Support will be of use to you.  But they will likely be your only hope of getting resolution unless you just happen to be using the wrong number as the serial number.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • 7th Gen Non and iMac appear on each others device list but will not connect

    My new 7th Gen nano and imac appear in each others blue tooth devices list but will not connect.   I've tried several time and have reset the nano twice. All suggestions greatfully received.
    Al

    Hey Al,
    I read that your iPod nano is compatible with the following Bluetooth items: headsets, speakers, and hands-free systems in some automobiles. These are the profiles it supports:
    Advanced Audio Distribution Profile (A2DP)
    With the Advanced Audio Distribution Profile, you can stream high-quality audio (stereo or mono) from one device to another over a Bluetooth connection. Use it to play music wirelessly from iPod nano to a wireless headset or a compatible car audio system.
    Audio/Video Remote Control Profile (AVRCP)
    With this profile, you can remotely control playback functions on the iPod nano from compatible devices (commonly Bluetooth devices that use the A2DP profile). iPod nano works with the pause, play, stop, next track, and previous track commands.
    Bluetooth Low Energy (BT LE)
    Use low-powered Bluetooth accessories with the Bluetooth Low Energy profile. iPod nano works with Bluetooth Smart Heart Rate Monitors.
    via: iPod nano (7th generation): Supported Bluetooth profiles
    http://support.apple.com/kb/HT5479
    That sounds like it might be why you're having difficulty connecting. If you want to sync your iPod nano with iTunes, I'd read through this document:
    iTunes: Syncing media content to iPod
    http://support.apple.com/kb/HT1386
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • IMovie '11 How do I recover a project that appears within the IMovie Projects folder but does not show in the Project Library?

    I have had my MBP for just over 3 months now!  Yes, I made the switch and up until now I have been quite happy.
    I now have my Time Capsule, Apple TV running and am generally getting used to life as a Mac user.............even bought Aperture and loaded all the family photos.  Now time to make some Travel movies.
    I have been working on a particular IMovie project for a few weeks now.  Size is 365MB.  Yesterday I closed IMovie and when accessing later that project is not available in the Project Library window.  It does appear in the IMovie Projects folder but I cannot open it.  I have copied the file to DVD just in case.  All up I have 4 Projects, the other 3 are practice files, smaller but they do appear in the Project Library.
    I have scoured the bulletin boards and tried many suggested fixes to no avail.  Main suggestion was to remove the following files from Library/Preferences
    com.apple.iMovieApp.plist
    com.apple.iApps.plist
    However, this did not sort out my problem.  In the end I put back the original files.
    Does anyone have a straightforward fix for my problem or is this one of those ongoing issues that that needs Apple's attention. 
    After all the file is there with the others.  They are available.
    I realise that I can restore from Time Capsule but I am missing the last three days thanks to 'drop out'.
    Thanks.......

    Gweggie Boy wrote:
    Yes, considering we have an ongoing 'glich' within an Apple program with no obvious solution, we should be able to direct it straight to an Apple rep.  I will peruse this possibility when I get a moment.
    You can report the problem by providing feedback to Apple. In the iMovie app, from the menu select iMovie > Provide iMovie Feedback. This will take you to an Apple page where you can complete a form and submit it to Apple.
    The fix for this will probably turn out to be simple/easy.....................so why doesn't Apple comment and/or address it????
    Other than the forum moderators, Apple doesn't normally monitor these forums, nor make comments on posts. So, it's up to us to report the problem to them directly (using the feedback form mentioned above).
    As the problem has affected me just the one time (touch wood), I haven't bothered to report it as yet. But, after seeing your posts on this, I'm now reconsidering that. Something must be triggering it. My system is in pretty good shape, so I'm guessing it must be a glitch of some sort, either in Mountain Lion or in the iMovie app itself. Perhaps it's a 3rd party app causing the problem? It doesn't give us much confidence now, in that we may start worrying about losing other projects.
    A good practice is to duplicate the project from time to time (something I'll be doing more of), although Time Machine backups also provide the necessary security. To duplicate, in Project Library view (where all the projects are listed) click on the project name so that it is highlighted, then select File > Duplicate Project. Alternatively, right-click (or Control-click) on the project name and select Duplicate Project from the pop-up menu. Of course, you may already know this. Duplicating probably won't guarantee that the copy will not also disappear from the Project Library, but is worth doing anyway.
    As I mentioned in the post I linked to earlier, when the problem arose with my iMovie project I was using ProRes 422 clips I had imported from a Final Cut Pro X Event. My immediate thought was that ProRes 422 had caused the problem. But this of course may have been coincidental - reinforced now by your experience, where you are probably working with Apple Intermediate Codec (AIC) clips.
    Anyway, glad to hear that you've recovered your project through Time Machine. Unfortunately, I had to start from scratch as I had Time Machine turned off during my editing sessions (that's a story for another day).
    John

  • HT201302 The USB cord needed to transfer photos from my iPhone 5 to Windows XP has nothing to do with the charger cord, which appears to be an USB cable, but is not?

    The USB cord needed to transfer photos from my iPhone 5 to Windows XP has nothing to do with the charging cord which appears to have an USB 'end', but apparantly is not, as it will not fit into any USB port on my PC?

    An iPhone 5 comes with a single cable. It is a USB to Lightning connector cable that is used for charging, for syncing, and for transferring photos from the Camera Roll to your computer. There is no separate cable for charging.

  • Codex functions, but procedure not

    hallo all,
    I am a beginner in PL&SQL, I have a strange problem to propose you. I wrote a routine that, after a control, makes an insert and an update.
    Well, if I launch it as simple codex, insert and update function. If I launch it as procedure, insert functions, but update no.
    Can you help me?
    as PL/SQL:
    declare
    cursor SDOC_WORK_contr_cur is
    select TIPO_CAMP,ESITO,IMPTOT_OR,NUM_IMPORTO_TOT,ID_SDOC,ROWID
    from NOC_SDOC_WORK
    where TIPO_CAMP = 'A' and ESITO = '1' or ESITO = '0';
    SDOC_WORK_contr_rec SDOC_WORK_contr_cur%ROWTYPE;
    begin
    open SDOC_WORK_contr_cur;
    loop
    fetch SDOC_WORK_contr_cur into SDOC_WORK_contr_rec;
    EXIT WHEN SDOC_WORK_contr_cur%NOTFOUND;
    if SDOC_WORK_contr_rec.ESITO = 1 AND SDOC_WORK_contr_rec.IMPTOT_OR <> SDOC_WORK_contr_rec.NUM_IMPORTO_TOT then
    update NOC_SDOC_WORK set STATO = 6
    where rowid = SDOC_WORK_contr_rec.rowid;
    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
    values('C1','controllare IMPTOT ed IMPTOT_OR',SDOC_WORK_contr_rec.ID_SDOC);
    end if;
    if SDOC_WORK_contr_rec.ESITO = 0 AND SDOC_WORK_contr_rec.NUM_IMPORTO_TOT <> 0 then
    update NOC_SDOC_WORK set STATO = 6
    where rowid = SDOC_WORK_contr_rec.rowid;
    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
    values('C0','controllare IMPTOT',SDOC_WORK_contr_rec.ID_SDOC);
    end if;
    end loop;
    close SDOC_WORK_contr_cur;
    commit;
    end;
    as procedure:
    PROCEDURE noc_pr_autocontrollo
    IS
    cursor SDOC_WORK_contr_cur is
    select TIPO_CAMP,ESITO,IMPTOT_OR,NUM_IMPORTO_TOT,ID_SDOC,ROWID
    from NOC_SDOC_WORK
    where TIPO_CAMP = 'A' and ESITO = '1' or ESITO = '0';
    SDOC_WORK_contr_rec SDOC_WORK_contr_cur%ROWTYPE;
    begin
    open SDOC_WORK_contr_cur;
    loop
    fetch SDOC_WORK_contr_cur into SDOC_WORK_contr_rec;
    EXIT WHEN SDOC_WORK_contr_cur%NOTFOUND;
    if SDOC_WORK_contr_rec.ESITO = 1 AND SDOC_WORK_contr_rec.IMPTOT_OR <> SDOC_WORK_contr_rec.NUM_IMPORTO_TOT then
    update NOC_SDOC_WORK set STATO = 6
    where rowid = SDOC_WORK_contr_rec.rowid;
    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
    values('C1','controllare IMPTOT ed IMPTOT_OR',SDOC_WORK_contr_rec.ID_SDOC);
    end if;
    if SDOC_WORK_contr_rec.ESITO = 0 AND SDOC_WORK_contr_rec.NUM_IMPORTO_TOT <> 0 then
    update NOC_SDOC_WORK set STATO = 6
    where rowid = SDOC_WORK_contr_rec.rowid;
    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
    values('C0','controllare IMPTOT',SDOC_WORK_contr_rec.ID_SDOC);
    end if;
    end loop;
    close SDOC_WORK_contr_cur;
    commit;
    end noc_pr_autocontrollo;
    tks
    leo

    ok, I write again my post:
    I wrote a routine that, after a control, makes an insert and an update.
    Well, if I launch it as simple code, insert and update function. If I launch it as procedure, insert functions, but update no.
    Can you help me?
    as PL/SQL:
    declare
        cursor SDOC_WORK_contr_cur is
        select TIPO_CAMP,ESITO,IMPTOT_OR,NUM_IMPORTO_TOT,ID_SDOC,ROWID
        from NOC_SDOC_WORK
        where TIPO_CAMP = 'A' and ESITO = '1' or ESITO = '0';
        SDOC_WORK_contr_rec SDOC_WORK_contr_cur%ROWTYPE;
    begin
        open SDOC_WORK_contr_cur;
        loop
        fetch SDOC_WORK_contr_cur into SDOC_WORK_contr_rec;
             EXIT WHEN SDOC_WORK_contr_cur%NOTFOUND;
                if SDOC_WORK_contr_rec.ESITO = 1 AND SDOC_WORK_contr_rec.IMPTOT_OR <> SDOC_WORK_contr_rec.NUM_IMPORTO_TOT then
                    update NOC_SDOC_WORK set STATO = 6
                    where rowid = SDOC_WORK_contr_rec.rowid;
                    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
                    values('C1','controllare IMPTOT ed IMPTOT_OR',SDOC_WORK_contr_rec.ID_SDOC);
                end if; 
                if SDOC_WORK_contr_rec.ESITO = 0 AND SDOC_WORK_contr_rec.NUM_IMPORTO_TOT <> 0 then
                    update NOC_SDOC_WORK set STATO = 6
                    where rowid = SDOC_WORK_contr_rec.rowid;
                    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
                    values('C0','controllare IMPTOT',SDOC_WORK_contr_rec.ID_SDOC);
                end if; 
        end loop;
        close SDOC_WORK_contr_cur;
        commit;
    end;as procedure:
        PROCEDURE noc_pr_autocontrollo
        IS  
        cursor SDOC_WORK_contr_cur is
        select TIPO_CAMP,ESITO,IMPTOT_OR,NUM_IMPORTO_TOT,ID_SDOC,ROWID
        from NOC_SDOC_WORK
        where TIPO_CAMP = 'A' and ESITO = '1' or ESITO = '0';
        SDOC_WORK_contr_rec SDOC_WORK_contr_cur%ROWTYPE;
    begin
        open SDOC_WORK_contr_cur;
        loop
        fetch SDOC_WORK_contr_cur into SDOC_WORK_contr_rec;
             EXIT WHEN SDOC_WORK_contr_cur%NOTFOUND;
                if SDOC_WORK_contr_rec.ESITO = 1 AND SDOC_WORK_contr_rec.IMPTOT_OR <> SDOC_WORK_contr_rec.NUM_IMPORTO_TOT then
                    update NOC_SDOC_WORK set STATO = 6
                    where rowid = SDOC_WORK_contr_rec.rowid;
                    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
                    values('C1','controllare IMPTOT ed IMPTOT_OR',SDOC_WORK_contr_rec.ID_SDOC);
                end if; 
                if SDOC_WORK_contr_rec.ESITO = 0 AND SDOC_WORK_contr_rec.NUM_IMPORTO_TOT <> 0 then
                    update NOC_SDOC_WORK set STATO = 6
                    where rowid = SDOC_WORK_contr_rec.rowid;
                    insert into NOC_ERRORI_SDOC_WORK(CD_ERRORE,NOTE,ID_SDOC)
                    values('C0','controllare IMPTOT',SDOC_WORK_contr_rec.ID_SDOC);
                end if; 
        end loop;
        close SDOC_WORK_contr_cur;
        commit;
    end noc_pr_autocontrollo;

  • Superdrive has full DVD function but will not burn or recognize CD's

    OK folks here goes... When I bought the machine it came with a combo-drive (it was new on a close-out deal, G5's had just come out) and I promptly purchased a Pioneer DVR-105, installed it in the top bay and moved the combo to the bottom. The bottom never burned anything (read CD's & music CD's fine) but that was OK the top was great burned and read everything.
    I had lost all burning function through 10.4.* so I replaced the drive with a Pioneer DVR-112D and regained sporadic burning and reading function, of CD's and DVD's, and the bottom bay was unrecognized.
    Fast forward to 10.5 the DVR-112D, recognizes, reads & writes DVD's (haven't tried the DL's yet) but will not read or write CD's or music CD's burned or otherwise. It sounds like it is trying to read and after a long while spits the tray out.
    System profiler seems to recognize and bless the drive with the full litany of burning capabilities, and I'm at a loss. I recently put the DVR-105 back in the bay and it was working in the same capacity. I switched back because the 112 is much more capable.
    Any suggestions or ideas would be greatly appreciated.
    Thanks............. Perry

    Hussein (New York) wrote:
    When you moved the original drive to the lower bay, you must change the drive jumper from Master to Slave, failing to do so will likely render the drive unusable as the system cannot "see" it. Try reset the jumper on the back of the drive, and perhaps you can use that for CD's..
    Like Perryb, I want to install a Pioneer DVD superdrive into my G4 (in my case a 115D) and was going to place it in the Zip drive bay. Thus two questions:
    1 Can the new drive be placed as the lower drive or do I have to move the combo drive down and place it as the upper drive?
    2 If I do move the combo down, where can I find the information about resetting the jumper from master to slave? (The profiler identifes the ATA drives as Combo = 0 and Zip = 1)
    3 Do I have to set anything on the new superdrive before installation?
    Thanks,
    George

  • TS4020 when sign in to icloud account, it says valid AppleID but its not an icloud account

    Whe n I sign in to my icloud account, it says valid AppleID but it is not and icloud account

    Creating an iCloud account- Frequently Asked Questions
    iCloud- Account troubleshooting

  • Songs appear to be copying to ipod but do not appear

    When I synch my ipod, it goes through the count copying all 2000 songs over to the ipod. The playlists and songs appear to be on the ipod while connected via itunes. The drive usage reflects they are there. When I disconnect the ipod from the PC, there are no songs on it.Please help!!!

    Sounds like Windows might be confusing the drives on the computer (it can happen when on a network, with other drives connected, etc.).
    Try going through the article below, and try changing the iPod's drive letter to something that for sure isn't taken already (try drive N... it's usually never taken).
    http://docs.info.apple.com/article.html?artnum=93499

  • I have installed the itunes but is not installing the Apple Mobile Device service it always that i try to install the itunes i have the same problem the error that appears is that the installer can run the service but the service is never installed

    Hi i have a problem I try to update my iphone but i can not do it, because every time that i try to install itunes appear an error that can start the Apple Mobile Deviece, and I could see that this service is never installed so that's why the installer can make run the services, does anybody know why this happen? My OS is windows 7, and I'm getting mad because i can update my music in my iphone thanks.

    Hello Skip Grantham,
    Thanks for using Apple Support Communities.
    it may be necessary to remove all traces of iTunes and related software components from your computer before reinstalling iTunes.
    For more information on this, take a look at:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Best of luck,
    Mario

  • My safari is blocked/locked/how can I reset it? When I click on safari is appears at the top as usual, but will not open for me/everything is in grey mode.

    My safari is blocked or locked.  When I click on safari at the top of my screen, everything below it is gray.  How can I get it to open for me?

    Maybe the following since I do not really understand what yo mean by click on the top part of the screen
    Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues - Apple Support

  • Private Browsing function is suddenly not working. Error message :"The URL is not valid and cannot be loaded." How can I repair?

    Private Browsing function is suddenly not working. Error message :"The URL is not valid and cannot be loaded."
    How can I fix it?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • ACR adjustments not showing up in Bridge

    I've done some searching but have not found an answer to my ?  So hope it isn't a repeat.  I'm on a iMac with 16 gig of RAM and updated graphics card running the latest version of Lion. After downloading the beta of CS6/ACR7 I have noticed that if I'

  • Problem whit FTP receiver adapter

    Hello.. i have a very strange problem. I created 2 similar interface Idoc-XI-File (via FTP) whit file content conversion. I configured in both cases the comunication channel but only in one case work correctly. The second channel create the file but

  • Droid X calendar after update

    After the recent software update my calendar entries synch and present two entries on the Droid while there is only one on the Google Calendar.

  • Cannot save or open document after conversion

    i cannot open or save the document after converstion.  the question box "Save" or "open" appears and i choose a location for it to be saved in but it is not ther after saving; nor can i open the document in Word

  • HT202806 Chrome for Mac automatically uninstalls iCloud Bookmarks extension

    iCloud for Windows includes a Chrome extension that allows you to sync your Chrome bookmarks in Windows with your Safari bookmarks on your Mac. There is a problem though. If you have Chrome installed on your Mac and run it, Chrome identifies that the