
April 27th, 2005
12:20 PM
Neverside Newbie
Status: Offline!
How to play movie only 1 time?
Hey,
I'm busy for a schoolproject. I'm making a little decoration on the website with flash (www.madebymade.nl/webshop). The animation works and it doesn't loop (so that's ok), but when I click on another link like a brand or on contact or whatever, the movie is played again... Is it possible to avoid that? So the movie plays only on the first entry of the page?
thnx in advance!

April 27th, 2005
04:55 PM
Um, yay?
Status: Offline!
There isn't a simple way to do that, if you really wanted to pursue it you'd have to end up using shared objects to store variable states. A simpler solution would be to use the flash movie on the first page and then a static image on others. Assuming I'm understanding the question.

April 28th, 2005
09:14 AM
Neverside Newbie
Status: Offline!
yes you do, but the problem is I use sort of a template for the main stuff and the mainstuff is included...
http://www.madebymade.nl/webshop
check what I mean
I was also thinking of a static image, so I could make it that when the url contains more than the default it shows a static image.

April 28th, 2005
03:11 PM
Um, yay?
Status: Offline!
You could also have the Flash check the URL and gotoAndStop() on a certain frame if it doesn't match the main page.

May 2nd, 2005
11:19 AM
Neverside Newbie
Status: Offline!
ehm I'm quit a flash noob... could you show me an example please?

May 2nd, 2005
02:05 PM
Um, yay?
Status: Offline!
Something like:
if(_root._url != "http://myhomepage.com/index.htm"){
gotoAndStop(10);
}
Hope that makes sense to you. The ._url for a move returns the address for the page that loaded the movie.