Fairly certain that FileStream.writeObject() and FileStream.readObject() do not function - at all -.

I've struggled with this since Jan 9th, 2013 (if not longer) and the only conclusion I can come to is that this simply does not function.  No matter what I try and no matter what resource (and I'm finding precious few) I follow to try to implement this within Flash Builder 4.7, Flex SDK 4.6.0 (Build 23201), AIR SDK 3.5, I only succeed in creating a file (with the correct name) that is 123 bytes in size that reads back in as NULL;
I've tried using ByteArray.writeObject()/readObject() as an intermediary with FileStream.writeBytes()/readBytes(), with no luck.
I've tried instantiating an object, setting properties and then using that.  I've tried instantiating my correctly formed ValueObject (including the remoteClass alias metadata tag).
I've tried using -verbatim- the example provided in the top most suggested 'Community Help' resource http://www.switchonthecode.com/tutorials/adobe-air-and-flex-saving-serialized-objects-to-f ile It is worth noting that this solitary example of the procedure/SDK-usage is dated to Flex SDK 3.0 and at least 04/04/2009 (first comment on the article).
My frustrating hell (one version of many methods attempted) is detailed on StackOverflow (including -all- mxml, as, and trace output), but so far, no assistance has been forthcoming, alas.  This is a severely stripped down and simplified version of what had been a far more complex attempt:
http://stackoverflow.com/questions/14366911/flex-air-actionscript-mobile-file-writeobject- readobject-always-generates-null-w
An earlier post* detailing a far more complex attempt interation, with, alas, just as little help (guess this isn't a hot button topic) forthcoming:
http://stackoverflow.com/questions/14259393/flex-actionscript3-filestream-writeobject-fail s-silently-in-ios-what-am-i-doin
* I previously suspected that it was only failing from within iOS on an iPad, but the first example (the stripped down version) made it evident that it didn't work in the AIR mobile device simulator (iPad) in the Windows environment, and indeed, didn't work in a non-mobile project in the windows environment AIR launcher.
I'm at a loss, upset, frustrated, in major trouble with my supervisor/deadlines, etc.
I would very much appreciate any suggestions/help/confirmation/etc.
Just to move ahead with development I've opted for a far less preferable solution of writing out both an XML file and a JPG file.  I very much do not like this and very much want to store encapsulated serialized objects locally in the same way I assume will work for storing remotely with AMFPHP (if the project ever gets to that point *sigh*).
Again.  Would be so grateful for any help.

I want to add to this post as I marked it as "The Answer" though it does not indeed contain the answer directly, for those who come looking for simliar solutions.
harUI prompted me to realize that my metadata term needed to be capitalized (RemoteClass instead of remoteClass).  As the metadata tags may be user defined, the compiler throws no errors (or warnings *grumble*)
package vo
    import flash.display.BitmapData;
   // [remoteClass(alias="PTotmImageVO")] incorrect
   [RemoteClass(alias="PTotmImageVO")]
    public class PTotmImageVO

Similar Messages

  • I updated Firefox and now it will not open at all. The hourglass shows that it's working but then nothing. I went to add/remove and removed mozilla and reinstalled it and still the same thing. It worked fine before I updated.

    I updated Firefox and now it will not open at all. The hourglass shows that it's working but then nothing. I went to add/remove and removed mozilla and reinstalled it and still the same thing. It worked fine before I updated. Now I can't even remove the program at all. Why is this happening?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • I have an iphone 5 and he thinks that the speakers and headphones it does not give the maximum volume!

    I have an iphone 5 and he thinks that the speakers and headphones it does not give the maximum volume!

    why does he think that?

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How can I turn off imessage for just one of my contacts? Me and my husband just upgraded (both had iphone 4), I got the iphone 5s and he got he note 3. All my text to him automatically send as a imessage. Ive tried to delete his contact and then went back

    How can I turn off imessage for just one of my contacts? Me and my husband just upgraded (both had iphone 4), I got the iphone 5s and he got he note 3. All my text to him automatically send as a imessage. Ive tried to delete his contact and then went back in and reentered it but that doesnt work.

    Have your husband text the word "stop" to 48369. This should take his number out of the iMessage system.
    Go into your settings under messaging and make sure the box to send as an SMS if iMessage is unavailable is checked.
    Hopefully this will get your messages sending/receiving to each other.

  • I was told I had to upgrade Firefox to 4.0, downloaded the dmg, launched it and now Firefox will not open at all.

    I was told I had to upgrade Firefox to 4.0, downloaded the dmg, launched it and now Firefox will not open at all. It tells me "The operation can't be completed because you don't have permission to access some of the items." Also, that "Firefox cannot be opened because of a problem." And it give a bunch of code. This is my main browser. What is happening here? My OS X is 10.6.7. Has this caused a problem?

    If you right-click on your Photoshope.exe, select Properties, there should be a Compatibility tab. There you can select Windows XP, Windows 2000, Winows 98 or 95. One of these should allow you to open Photoshop 6, unless you mean CS6.

  • After upgrading to the latest ios my imessage and facetime apps do not function.....any one having similar difficulties?

    After upgrading to the latest ios my imessage and facetime apps do not function.....any one having similar difficulties?

    Start your '''Computer''' in safe mode. Then start Firefox. Try '''Safe''' web sites.
    Starting The Computer In Safe Mode;
    If running, turn your computer off.
    Remove any disks and thumb drives that are in your hard drives or ports.
    Now start your computer but also;
    '''Windows; '''Press the <F8> key repeatedly.
    '''Mac: '''Hold down the Shift key.
    '''Linux; '''Using the command line, Linux/Unix computers can be booted
    into various run levels that determine which resources are loaded.
    For example, "runlevel 1" is typically the equivalent to Windows and
    Mac safe modes.
    * Source; '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Safe Mode; Free Online Encyclopedia]'''
    When the '''Boot''' menu is displayed, release the key you were pressing.
    You must now choose what mode to use. The most used are;
    * Safe Mode; The computer runs with only a minimum set of programs.
    * Safe Mode '''With '''Networking; Same as above, but with internet access.

  • I have reset my ipad using General Reset Erase All Content and Settings. And now it will not boot. All i see on screen is the Apple logo. What do i do?

    I have reset my ipad using General > Reset > Erase All Content and Settings. And now it will not boot. All i see on screen is the Apple logo. What do i do?

    When you restore, you can restore to factory settings or to a backup. Restoring to factory settings removes everything and takes you back to out of the box status and you start all over again. Restoring from your backup will replace all of your app data, bookmarks, email settings and things like that. You still may need to sync all of your purchased apps and music, photos and so on back to the iPad.
    I assume you want to restore from your backup to put all of you data back on the device so connect the iPad to your computer, launch iTunes, right click on the device name on the left side under the devices heading and select restore from backup. After you restore from your backup, make sure that you sync all of your other content with iTunes.

  • My firewire 800 and USB ports on not functioning!

    My firewire 800 and USB ports on not functioning, I believe it is an issue the next driver loaders anyone, know how I can reset these?

    You don't "reset" a driver (kext).  And I don't believe it s a driver problem.  However you might try doing a smc and pram reset to see if that "shakes the ports loose".  Might work.  Couldn't hurt to try.

  • HT3302 i bought an iphone 4s factory unlocked from apple store...and i accidentally dropped it in water...now it's not functioning at all..how much will a replacement cost

    I bought a factory unlocked iPhone 4s from apple store north Michigan Chicago..and one day it got wet in the rain...and now it's not functional...wht r costs for replacement? ??please help

    http://www.apple.com/support/service/
    Out-of-Warranty Service
    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
    iPhone model
    Out-of-Warranty Service
    iPhone 5
    $229
    iPhone 4S
    $199
    iPhone 4, iPhone 3GS,
    iPhone 3G, Original iPhone
    $149
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax. "

  • I've just edited all my apple id information and my iMessage will not work at all, can anyone help?

    I've just edited all my apple id information and my iMessage will not work at all, can anyone help?

    Try tapping Settings > FaceTime, turning FaceTime Off, editing the Apple ID associated with FaceTime, and then turning it back on.
    If that doesn't do it, take a look at this Apple doc -> iOS: Troubleshooting FaceTime and iMessage activation

  • My iphone will not turn on.... it froze earlier today and now it will not turn on all i get is a black screen with the apple symbol every once in awhile... also it will not connect to my computer so i can reset it to factory settings

    My iphone will not turn on.... it froze earlier today and now it will not turn on all i get is a black screen with the apple symbol every once in awhile... also it will not connect to my computer so i can reset it to factory settings

        Sammyhunter lets get you back in action! Has there been any physical/water damage to the device? Try pressing and holding the home and power button together. Once the Apple symbol appears release both buttons. Keep us posted!
    AshleyS_VZW
    Follow us on Twitter @VZWSupport

  • The keyboard for my iMac 9, 1 got wet and is not working correctlly. Delete,return, and some other keys not functioning. In all caps including numerals. I've left it to dry for a few days but still will not work. Computer now in Safe boot mode and I c

    The keyboard for my iMac 9, got wet and is not working correctly. Delete ,return, and some other keys not functioning. In all caps including numerals. I've left it to dry for a few days but still will not work. Computer now in Safe boot mode and I can't login due to all caps and numbers being symbols. Is there anything I can do?

    Buy a replacement keyboard. They're only $50-65 USD.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • HT1349 Actually, my iphone was hanged and its screen was not working at all .So, I updated its software from market but for reactivation it require icloud account but i didn't know how exactly it is and i was caught in big trouble . But i have its box and

    Actually, my iphone was hanged and its screen was not working at all .So, I updated its software from market but for reactivation it require icloud account but i didn't know how exactly it is and i was caught in big trouble . But i have its box and all other accessories .So , kindly help me as early as possible .Thankyou    and tell me about its solution
    <Email Edited by Host>

    Basic troubleshooting steps outline in the manual are restart, reset, restore from backup, restore as new.  Try each of these in order until the problem is resolved.  If you've been through all these steps and the trouble persists, you'll need to bring your phone to Apple for evaluation.  Be sure to make an appointment first at the Genius Bar so you won't have a long wait.
    Best
    GDG

  • TS2518 I upgraded to Aperture 3.4 this morning, and now it will not open at all! It crashes every time, and tries rebuilding the library and repairing most times. The Library open fine in Iphoto

    Every time since I upgraded this  morning, attempting to open Aperture causes a crash. I upgraded to Aperture 3.4 this morning, and now it will not open at all! It crashes every time, and tries rebuilding the library and repairing most times. The Library open fine in Iphoto

    If you do not have the original install DVDs, use the Aperture Trial installer instead:
    Try if this download link for the trial version still works: if yes, you can unlock it with your serial number:
    http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Aperture/061-8328 .20101020.AprE3/ApertureTrial3.1.dmg
    Regards
    Léonie

Maybe you are looking for