A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Can this be done

  1. #1
    FK Teletubbie Crew !
    Join Date
    Jul 2000
    Location
    California
    Posts
    73
    Ok ive thought up lots of ways to do this but this might be the best. Ok i want to make a guestbook type thing so that only one person can post in it.

    And when anyone else goes into the guestbook type thing besides the authorized user they see the very last post and can scroll back to see posts on other days.

    This is for my teachers assignment page the authorized user would be the teacher and the other people would be the students looking up there assignments.

    the way i thought this out is they look at the last post meaning that days assignment and they can scroll back looking at arcived assignments.

    can this be done or do u have a better idea

    Peace Out
    Jon

  2. #2
    Member
    Join Date
    May 2000
    Posts
    47
    Things like this are generally done with ASP or PHP or Java server pages etc, where the doc is built and served on the fly based on user request and database contents. This would allow u to set logins and passwords which assign priviliges for the current user.

    With flash, u can have a frame that the movie stops on and displays a text field where the user enters a given string [ie password] and then clicks a submit button.

    The text field has the same name as a varible; the button, when clicked, executes a series of actions which check the variable [text field] and then conditionally chooses an action ie:

    if "password" = admin
    go to x
    else if "password" = student
    go to y
    else
    go to [frame with 'access denied' message]

    I think the problem u will have here is security ie Flash cannot be used to write data to/from hard drives [generally speaking] however you can write text thru a text field and I think u may be able to get this to save on a remote hd.

    Anyone wanna throw us a bone or two here? Anyone?.....

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