This content has been marked as final.
Show 3 replies
-
1. Re: Self-Destructive .swf
kglad Jan 21, 2012 7:24 AM (in response to d0brin)you can't destroy frame 1 but you can direct someone to frame 2 after 10 seconds (using setTimeout) and after the first visit (using a sharedobject).
-
2. Re: Self-Destructive .swf
d0brin Jan 21, 2012 12:41 PM (in response to kglad)Could you tell me how the code for the shared object would look like so that after the first visit the .swf movie to go on frame 2 :?
-
3. Re: Self-Destructive .swf
kglad Jan 21, 2012 12:47 PM (in response to d0brin)stop();
var so:SharedObject=SharedObject.getLocal("/");
if(so.data.alreadyViewed){
nextFrame();
}
.
.
.
// execute below when appropriate eg, after 10 seconds viewing frame 1
so.data.alreadyViewed=true;



