Groups | Blog | Home
all groups > macromedia flash sitedesign > november 2004 >

macromedia flash sitedesign : Can .swf play only the first time page is loaded?


davetdreamweaver
11/11/2004 1:41:55 AM
A .swf that has navigation buttons for the home page also loads in a second
..swf that plays an animation. Unfortunately, every time a visitor uses the Back
button to come back to the home page nav buttons, the animation plays again,
really annoying. Is there any way to have second .swf 'A' load into the
master .swf the first time a visitor views the page, and have second .swf 'B'
load into the master when the visitor returns to the page? Thanks in advance,
Dave
derobinson
11/16/2004 4:25:19 AM
You might want to look into using Shared Objects (Flash cookies). You coul dset
an object at the end of the first play-through. Check for the Object's
existence at the beginning of the movie and either play it or not or send the
user to something completely different accordingly.

Cheers!
AddThis Social Bookmark Button