Results 1 to 5 of 5

Thread: Cookies with Flash

  1. #1
    Join Date
    Jan 2008
    Posts
    51
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default Cookies with Flash

    Hi again,

    Sorry for the multiple questions but I just discoverd FWA and am very inspired by the works of great Flash people

    On this website (this one: http://www.uliheckmann.com/#/Gallery...lio/People/140) when you view the portfolio, i know which images you have already seen.

    How is this done? Through cookies?

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Sorry for the multiple questions but I just discoverd FWA and am very inspired by the works of great Flash people
    Now it make sense....
    The FWA can be addicting but most of those sites have a specific purpose. Most companies/people can't afford the kind of servers you need to serve up that kind of media. Also, most companies/people don't have the need for full flash sites. Most full flash sites on the Internet are a total waste.


    To that website...
    I find the navigation to be really annoying! But regardless...it could be done with cookies. Though, that's a more complicated way to go. What I suspect might be happening is that when you view a certain image, that image is added to an array of viewed images.

    So then you can easily check against that array to see which images to show inside the hollowed out letters.

    Does that help?

  3. The Following User Says Thank You to Medyman For This Useful Post:

    ReadyToLearn (05-03-2008)

  4. #3
    Join Date
    May 2008
    Location
    austin, tx
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    It doesn't take as much as one would think. Shared libraries can cut-down on processor resources enormously.

    As for knowing what images have been seen, look into SharedObjects. That's what you will reference in ActionScript to know how to set that code up.

  5. The Following User Says Thank You to thumbslinger For This Useful Post:

    ReadyToLearn (05-09-2008)

  6. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by thumbslinger View Post
    It doesn't take as much as one would think. Shared libraries can cut-down on processor resources enormously.

    As for knowing what images have been seen, look into SharedObjects. That's what you will reference in ActionScript to know how to set that code up.
    Yeah but SharedObjects can be turned off client side. I know many people don't do it. But it's just like JavaScript, a great majority of people don't turn it off but it's still good practice to code for non-javascript environemnts.

    Doing the same thing in Flash is more trouble that it's worth. For this sort of simple application (storing which images are viewed) can be done with one array and it doesn't rely on client-side settings.

  7. The Following User Says Thank You to Medyman For This Useful Post:

    ReadyToLearn (05-09-2008)

  8. #5
    Join Date
    Jan 2008
    Posts
    51
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default

    Thanks for the info guys. I'll keep that in ind when I get to this part

    - Nidhi

Bookmarks

Posting Permissions

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