Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7777269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:05:49+00:00 2026-06-01T18:05:49+00:00

It is quite simple to do it, you write the object down to file,

  • 0

It is quite simple to do it, you write the object down to file, then you read it:

  • http://corlan.org/2008/09/02/storing-data-locally-in-air/
  • http://cookbooks.adobe.com/post_Storing_ActionScript_Objects_in_the_Encrypted_Loca-10563.html

My questions are

  1. why when we put [RemoteClass(alias=”foo.Bar”)] into VO, it can be
    cast automatically (otherwise the type of the deserialized object is
    Generic Object with correct properties data inside it)?
  2. Is there another way to achieve it without RemoteClass tag? (Using metadata tag is preference)

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:05:51+00:00Added an answer on June 1, 2026 at 6:05 pm
    1. The answer is in the page you linked to:

      Note that the alias is a key that is stored with the class instance
      and links the class definition with the specific object that is stored
      in the ByteArray when an instance of that object is serialized. This
      key can be any unique string identifying this class, but convention is
      to use the fully normalized package and class name.

      That’s why you get a generic object if you omit the alias – the deserialization method does not know what to do with the data, unless you specify to which class the values should be mapped.

    2. Yes, there is: registerClassAlias() does the same thing. But the metadata tag is much prettier to read 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My problem is quite simple: I have a 400MB file filled with 10,000,000 lines
I'm studying the best data structures to implement a simple open-source object temporal database,
I'm trying to write a simple HTTP remember me authentication system for users. My
My question is quite simple. Is it possible to inactivate all toasts of an
My issue is quite simple I think : I would like to be able
The question is quite simple : I have a controller plugin for Zend Framework.
This is probably quite simple, but I just don't know how to do this...
My issue here is quite simple : i'm trying to use the jQuery validate
Why does this quite simple xquery takes 10min to execute in sql server (the
My question is quite simple and with the SharpSvn Api, it should be easy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.