A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: [RESOLVED] Create multiple movieclips and store them in Shared Object

Threaded View

  1. #1
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971

    resolved [RESOLVED] Create multiple movieclips and store them in Shared Object

    Hi,

    I'm creating 2 flash apps that require a button to create movieclips.
    Then i need to store these created movieclips so when refreshing the page or the SWF, the movieclips still there.

    I know how to work with shared object to store variables, but i don't manage to see how to store the dynamically created movieclips.

    My first app is a bookmark saver, you click a button "ADD URL" and a first movieclip is created, then when pressing that button again, a 2nd movieclip is create below the first one, leaving a 10px space between each movieclip. And finally, store/save these created movieclips in shared object.

    I think I know how to make the movieclip creation, making an if statement. If (nomovieclipcreated) {then create the first at this X and this Y } else { create a new one at first movieclip Y plus 10px}

    But how to store them? Thanks
    Last edited by angelhdz; 12-08-2012 at 01:03 AM.
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center