Passing object with values from one .swf file to another

Posted on 2011-10-14
Last Modified: 2013-11-11
Hi Experts,

How do we pass one Object say 'UserData' object from one .swf file to another .swf file

Please guide

Question by:tia_kamakshi
    LVL 29

    Accepted Solution

    Using LocalConnection and serialize your object to string than deserialize from another SWF

    Another way to use ShareObject to save your object to the local file send some feedback to another SWF for example using the same LocalConnection class or via server socket and then read from the local system serialized object

    Author Comment

    Many Thanks dgofman,

    This looks good tutorials

    I am going through these tutorials and come back to you by EOD if I have any questions, else I will close this question.

    If you have any other suggestions/examples meanwhile please let me know

    Thanks again

    LVL 29

    Expert Comment

    Just search on Google using ActionScript LocalConnection or SharedObject and you will find millions examples. At least you know what keywords to use :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now