Professional Web Applications Themes

Shared objects - skipping an intro after the first timeon site - Macromedia Flash Flashcom

I have read a little on using shared object classes. if i build my site fully in flash, using scenes or separate swf files, can i use the shared object classes to have the client machines skip that intro from then on? or is there a better way to accomplish this? i am understanding these classes to be a sort of "cookie" i am not much of a programmer, so i am using my novice knowledge to try to develop these abilities.....

  1. #1

    Default Shared objects - skipping an intro after the first timeon site

    I have read a little on using shared object classes. if i build my site fully
    in flash, using scenes or separate swf files, can i use the shared object
    classes to have the client machines skip that intro from then on? or is there a
    better way to accomplish this?

    i am understanding these classes to be a sort of "cookie" i am not much of a
    programmer, so i am using my novice knowledge to try to develop these
    abilities..


    sfsnwbrdr Guest

  2. #2

    Default Re: Shared objects - skipping an intro after the first time onsite

    sfsnwbrdr wrote:
    > I have read a little on using shared object classes. if i build my site fully
    > in flash, using scenes or separate swf files, can i use the shared object
    > classes to have the client machines skip that intro from then on? or is there a
    > better way to accomplish this?
    >
    > i am understanding these classes to be a sort of "cookie" i am not much of a
    > programmer, so i am using my novice knowledge to try to develop these
    > abilities..
    >
    >
    Yes, you can store information about first/second visit like this :


    var visits_so = SharedObject.getLocal("visits_so");
    if( visits_so.data.introshown == undefined ){
    visits_so.data.introshown = true;
    gotoAndPlay("intro");
    } else {
    gotoAndPlay("site");
    }
    //

    RusD Guest

Similar Threads

  1. Shared Objects
    By cheethosting in forum Macromedia Flash Actionscript
    Replies: 2
    Last Post: March 14th, 07:10 PM
  2. Shared Objects and the site requesting access
    By Ouledfes in forum Macromedia Flash Player
    Replies: 0
    Last Post: October 4th, 08:12 PM
  3. Site Intro Drawing -- Help!!!
    By efiorello webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 1
    Last Post: October 25th, 10:36 PM
  4. [PHP] Shared Objects
    By Marek Kilimajer in forum PHP Development
    Replies: 0
    Last Post: September 19th, 08:41 AM
  5. i uploaded my site with a new intro!!
    By flashtime webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 9
    Last Post: September 11th, 12:09 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139