Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Doctor Web #1
not repeat intro
i need to know how can i do if i have 2 animations on my home page on the same
movie, this first one is an intro, when it finishes it loads a second animation
with the menu bar, the rest of the page is html, if someone is on a section of
the site for example "about us" and want to return to the home, it plays the
whole intro again, i don't want this to happen and also i don't want to put an
skip intro button, if they have seen the intro it shouldn't play again, unleast
they want to repeat it with a repeat intro button, so what i need is how can i
make the movie to understand that the person has already been in the home page
so it shouldn't play the intro again.
Doctor Web Guest
-
background-repeat: repeat-x in HTML? Please help!
I want to have a "centered page" look full screen...I have made them using layers and CSS but if I need it to work in most browsers how do I do the... -
Intro
I'm going to make an intro for my site and I was wondering how i could edit a song so only part of it would play instead of the whole song? Just... -
how to get intro swf to play once
hi, our website has a relatively large intro movie (2MB) that plays and once it finishes, loads the main page. is there a way for flash to... -
PLEASE HELP WITH FLASH INTRO!
Hello.. I am pretty new at flash, and all I want to do is remove a picture from this flash website intro that I have, and I am having no luck! I have... -
Intro help
Hey Im new to adding actions to movie clips and junk. But I have this intro that I want to refresh to my main page when its finished. Whats the... -
Jack. #2
Re: not repeat intro
you can make use of the local sharedObject to store a counter on the user HD,
and something like - if( counter>0 ) { been there ,don't play } else { first
visit, play intro }
[url]http://www.macromedia.com/support/flash/ts/documents/local_so.htm[/url]
my 2c's .. hth,
Jack. Guest
-
-
urami_ #4
Re: not repeat intro
in addition to Jack's reply , i happen to do the exact thing right now for a client :
//frame action in flash movie
function VisitCheck() {
var myLocalSO = sharedobject.getLocal("visitRecord");
if (myLocalSO.data.visited == null) {
myLocalSO.data.visited = 1;
// your action for first visit here
trace("visit 1");
} else {
// your action for second and more visit to skip to diff
// frame on the timeline
trace("visit2");
}
}
VisitCheck();
you can test it locally , it will trace out.
The file with info will be store on your machine as visitRecord.sol
somewhere in temporary folders.....
Using search on windows can locate the file, you can delete it for farther
tests. Also take note that if you place it on first frame it might fail
as the movie is not entirely loaded and the action won't be able to locate the
target frame . Best to make small preloader and after loader send it to frame
on which you make the check , from there play or skip .
Regards
urami_*
<hol>
http://flashfugitive.com/
</hol>
urami_ Guest



Reply With Quote

