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

  • Home
  • SEARCH
  • 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 8853563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:41:03+00:00 2026-06-14T13:41:03+00:00

I am trying to make save progress thingie with sharedobjects, I´ve figured out how

  • 0

I am trying to make save progress thingie with sharedobjects, I´ve figured out how those work, but now I should just try to figure out how to make my “save progress” button to not just remember “this.currentFrame”, but also if this is on main timeline, or if it is not, which movieclip this is in so that when I upload the sharedObject, it goes to right location, in main timeline or movieclip.

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-14T13:41:04+00:00Added an answer on June 14, 2026 at 1:41 pm

    I have a feeling SharedObjects may not be able to hold actual movie clip references and be able to restore them reliably (correct me if I am wrong on this), but you could just store objects with key-data pairs in the SharedObject instead of just the frame number alone. Or if you have an unknown number of frame numbers (and movie clips) to remember, store an array of key-data pair objects and loop through them when it comes time to load.

    Example of a way to store the data for each clip:

    var someClip:Object = new Object();
    
    // some id that refers to the clip (maybe an array/dictionary index)
    // (or try replacing with the actual reference to the movie clip to see if it works)
    someClip.id ="clipName";
    someClip.frameNumber = 1; // the frame number of the clip to remember
    

    Then just store the ‘someClip’ object into an array in the SharedObject data.

    Maybe a more ‘compact way’ is to do away with having a temporary object and store the key-data pair as just a string with a delimiter. For example, you could just store the string “clipName,1”, then when it comes time to load, split along the comma to get the clip id and parse the frame number back to an int.

    Or I guess you could also store the frame numbers in a clip id index’ed dictionary and store that in the SharedObject data (as it may save the int parsing step on loading).

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

Sidebar

Related Questions

Trying to make a small countdown timer in my app but it's not working.
I'm trying to make my program save its state in the location set by
I'm trying to make an app with images that you can save to your
I am trying to make a server page (C#, asp.net 2.0+) to save an
I'm trying to make a request to a page, and save the cookie that
I am trying to make an ajax call by passing named parameters: $this->Js->link('Save',array( 'controller'
I am trying to make the save button visible when text is entered into
I am trying to make a before_save in a rails app conditional, but it
Here is some code that I'm trying to make save some UITextView text. When
I'm trying to make a save as feature using javascript and php. In the

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.