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 6367689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:34:51+00:00 2026-05-25T00:34:51+00:00

I am working on a flex project using sharedobjects to store information on my

  • 0

I am working on a flex project using sharedobjects to store information on my server. I am not 100% sure how to do this, so I was looking up tutorials and came across this bit of code:

nc = new NetConnection();
nc.connect("rtmp://[website here]");
so = SharedObject.getRemote("ballPosition", nc.uri, false);
so.connect(nc);

But when it gets to the 3rd line, it crashes. I don’t know how to use the debugger for flex sadly enough, which I am looking into now, but I figured that I would post this here and hope for the best. Thanks in advance.

  • 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-05-25T00:34:52+00:00Added an answer on May 25, 2026 at 12:34 am

    I started posting this as a comment, but it quickly got too long..

    You may be getting the error because you’re not connected to the server. If you’re connected then you’ll get a true returned from your second line. I’d start there. eg:

    nc = new NetConnection();
    var c = nc.connect("rtmp://[website here]");
    trace(c);
    so = SharedObject.getRemote("ballPosition", nc.uri, false);
    so.connect(nc);
    

    Also, you might try wrapping this in a try/catch block as that will give you the error, but won’t kill your app (since you’re new to debugging).

    try {
        nc = new NetConnection();
        nc.connect("rtmp://[website here]");
        so = SharedObject.getRemote("ballPosition", nc.uri, false);
        so.connect(nc);
    } catch(e:Error) {
        trace("my sweet error is:", e);
    }
    

    In all, debugging is simply awesome and can save you a lot of time in certain situations. good luck!

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

Sidebar

Related Questions

I'm looking to have a couple of plugins in a Flex project I'm working
I'm working on important project using Flex framework and i want to keep my
I'm working on a Flex 3 project, and I'm using a pair of XMLListCollection(s)
Am working on a flex project I am looking to provide some UI functionality
I have been working on Flex for last couple of months and as this
My company has been working on a Flex dashboard that displays realtime financial information.
I am looking into internationalizing a Flex application I am working on and I
Hey, i'm working on a flex project where we load in a bunch of
I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other
I'm working on a project where I need to make a Flex application that

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.