A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Shared Objects Help!!!! critcal

  1. #1
    Senior Member nixthinx's Avatar
    Join Date
    Sep 2001
    Posts
    200

    Shared Objects Help!!!! critcal

    Hello All,

    I am trying to write a Shared Object that is dynamically generated. Say date and time : I have the script to generate them and it does work and show in a dynamic text box. The only problem is writing the data as a shared object. Can someone help please??

    this is critical for me. Really appreciate if someone helps!

    nixthinx
    Let the source be with you!

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    try that...
    so = sharedObject.getLocal("daytime") // will create daytime.sol
    so.data.day = '17/06/2003'; // add anything to so.data
    so.flush(); // ensure file is written

    Musicman

  3. #3
    Senior Member nixthinx's Avatar
    Join Date
    Sep 2001
    Posts
    200
    Thanks Musicman

    That worked! Appreciate your help!


    nixthinx
    Let the source be with you!

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