Use the flash shared object to set a flash cookie. This way, when the user
comes back, the playhead will skip the intro and go to a specified frame.
You can also use it to control an flv or anything else.

// sets flash shared object
version = SharedObject.getLocal("intro_data");

// if first time, show intro
if (version.data.intro == undefined) {
    version.data.intro = "playIt";
    version.flush();
    trace(version.data.intro);
    gotoAndPlay("first_time"); // play the intro
}
else  // if not first time, go to nav
{
    gotoAndPlay("second_time"); // go to the frame for 2nd time viewers
    version.data.intro = "dontPlayIt";
    version.flush();
    trace(version.data.intro + " else statement");
}



On 8/3/06 9:55 AM, "Dan McCullough" <[EMAIL PROTECTED]> wrote:

> Do you know of a way to make the movie automatically play on
> the first visit but then if you come back to the page after viewing
> another page, the video doesn't auto-play?  Basically, they don't like
> the fact that every time you go to the home page, the movie starts
> over.  Do you know of a fix for this?
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to