A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Quick question about the date

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    13

    Load data from txt or csv based on date

    Hi I'd like to use the date object to get the date and then display a name from a rota or timetable either in csv or txt format. So for example if the date is 26 June 2004 and Chris is on the rota that day it will display the name Chris.
    Can anyone give me an idea how I can do this.


    Cheers
    Tom
    Last edited by thomasperfecto; 07-07-2004 at 09:32 AM.

  2. #2
    Sergei A. Kornev Maestro_cK's Avatar
    Join Date
    Jul 2002
    Location
    Saint Petersburg
    Posts
    155
    so "rota" is rotation list, ism' it?
    if so i ve got some questions.
    the firt one is
    where are you going to store this list?

    the second one is
    program logic should be on client or server side?

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Posts
    13
    Yeah its basicly a timetable that says Monday John is working, Tuesday its Chris etc etc.
    I was wanting to use a local csv file if its possible.
    So I just want it to get the date and then check the csv file and display the apropriate name for that date.

    Thanks
    Tom

  4. #4
    Sergei A. Kornev Maestro_cK's Avatar
    Join Date
    Jul 2002
    Location
    Saint Petersburg
    Posts
    155
    The thing is You can't write to file using flash. Flash can only store data in cookies.

  5. #5
    Sergei A. Kornev Maestro_cK's Avatar
    Join Date
    Jul 2002
    Location
    Saint Petersburg
    Posts
    155
    cookies can be Shared Objects or Browser cookie.

  6. #6
    Junior Member
    Join Date
    Jun 2004
    Posts
    13
    I dont want flash to write anything I just want it to read a cvs file or another data source and display the name that corresponds with the current date

  7. #7
    Junior Member
    Join Date
    Jun 2004
    Posts
    13
    Does any one have any advice on how I can do this?

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